Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Telegram -> Discord] Avatar spoofing is no longer working #920

Closed
TomTheDragon opened this issue Oct 5, 2019 · 14 comments
Closed

[Telegram -> Discord] Avatar spoofing is no longer working #920

TomTheDragon opened this issue Oct 5, 2019 · 14 comments
Labels
waiting for feedback Further information is requested

Comments

@TomTheDragon
Copy link

It just stopped working for some reason. I just changed my media server from using Caddy (there is no upload plugin any more) to just use the local Nginx but i dont think thats the problem.
Name spoofing and all the other things like the media server are still working fine.

@42wim 42wim added the waiting for feedback Further information is requested label Oct 26, 2019
@42wim
Copy link
Owner

42wim commented Oct 26, 2019

Can't you test with your previous working caddy with plugin to see if the issue is also available there?
Also run with -debug it should show messages about avatars.

@TomTheDragon
Copy link
Author

We switched over to a new Debian based server and its not longer possible to download a version of Caddy that supports this upload function.

@TomTheDragon
Copy link
Author

TomTheDragon commented Oct 27, 2019

I just tested to send two messages and a sticker from Telegram over to Discord:

[0053] DEBUG telegram:     == Receiving event: &tgbotapi.Message{MessageID:7813, From:(*tgbotapi.User)(0xc000257e50), Date:1572197889, Chat:(*tgbotapi.Chat)(0xc00030af30), ForwardFrom:(*tgbotapi.User)(nil), ForwardFromChat:(*tgbotapi.Chat)(nil), ForwardFromMessageID:0, ForwardDate:0, ReplyToMessage:(*tgbotapi.Message)(nil), EditDate:0, Text:"", Entities:(*[]tgbotapi.MessageEntity)(nil), Audio:(*tgbotapi.Audio)(nil), Document:(*tgbotapi.Document)(nil), Animation:(*tgbotapi.ChatAnimation)(nil), Game:(*tgbotapi.Game)(nil), Photo:(*[]tgbotapi.PhotoSize)(nil), Sticker:(*tgbotapi.Sticker)(0xc0007ac000), Video:(*tgbotapi.Video)(nil), VideoNote:(*tgbotapi.VideoNote)(nil), Voice:(*tgbotapi.Voice)(nil), Caption:"", Contact:(*tgbotapi.Contact)(nil), Location:(*tgbotapi.Location)(nil), Venue:(*tgbotapi.Venue)(nil), NewChatMembers:(*[]tgbotapi.User)(nil), LeftChatMember:(*tgbotapi.User)(nil), NewChatTitle:"", NewChatPhoto:(*[]tgbotapi.PhotoSize)(nil), DeleteChatPhoto:false, GroupChatCreated:false, SuperGroupChatCreated:false, ChannelChatCreated:false, MigrateToChatID:0, MigrateFromChatID:0, PinnedMessage:(*tgbotapi.Message)(nil), Invoice:(*tgbotapi.Invoice)(nil), SuccessfulPayment:(*tgbotapi.SuccessfulPayment)(nil), PassportData:(*tgbotapi.PassportData)(nil)}
[0053] DEBUG telegram:     Trying to download "file_62018.webp" with size 26390
[0053] DEBUG telegram:     WebP to PNG conversion enabled, converting file_62018.webp
[0054] DEBUG telegram:     Download OK "file_62018.png" 258170
[0054] DEBUG telegram:     <= Sending message from Tom 🐲 on telegram.ffffffff to gateway
[0054] DEBUG telegram:     <= Message is config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"7813", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"", Size:0, Avatar:false, SHA:""}}}}
[0054] DEBUG gateway:      mediaserver path placing file: /var/www/b.fff.eu/web/32329106/file_62018.png
[0054] DEBUG gateway:      mediaserver download URL = http://b.fff.eu/32329106/file_62018.png
[0054] DEBUG gateway:      => Sending config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"7813", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}} from telegram.ffffffff (-111111111) to xmpp.fff (test)
[0054] DEBUG xmpp:         => Receiving config.Message{Text:"", Channel:"test", Username:"[Tom 🐲@telegram]", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0054] DEBUG gateway:      => Sending config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"7813", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}} from telegram.ffffffff (-111111111) to matrix.ffffffff (!ttttttttttt:matrix.org)
[0054] DEBUG matrix:       => Receiving config.Message{Text:"", Channel:"!ttttttttttt:matrix.org", Username:"[Tom 🐲@telegram] ", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0054] DEBUG matrix:       Channel !ttttttttttt:matrix.org maps to channel id !ttttttttttt:matrix.org
[0054] DEBUG xmpp:         == Receiving xmpp.Chat{Remote:"test@s.fff.eu/#", Type:"groupchat", Text:"[Tom 🐲@telegram]http://b.fff.eu/32329106/file_62018.png", Subject:"", Thread:"", Ooburl:"", Oobdesc:"", ID:"", ReplaceID:"", Roster:xmpp.Roster(nil), Other:[]string{""}, OtherElem:[]xmpp.XMLElement{xmpp.XMLElement{XMLName:xml.Name{Space:"urn:xmpp:sid:0", Local:"stanza-id"}, InnerXML:""}}, Stamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
[0054] DEBUG xmpp:         == Receiving xmpp.Chat{Remote:"test@s.fff.eu/#", Type:"groupchat", Text:"", Subject:"", Thread:"", Ooburl:"", Oobdesc:"", ID:"", ReplaceID:"", Roster:xmpp.Roster(nil), Other:[]string{""}, OtherElem:[]xmpp.XMLElement{xmpp.XMLElement{XMLName:xml.Name{Space:"jabber:x:oob", Local:"x"}, InnerXML:"<url>http://b.fff.eu/32329106/file_62018.png</url>"}}, Stamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
[0054] DEBUG matrix:       uploading file: file_62018.png image/png
[0054] DEBUG matrix:       sendImage mxc://matrix.org/RSwAuObxISoafcLOfPTStWxn
[0054] DEBUG matrix:       == Receiving event: &gomatrix.Event{StateKey:(*string)(nil), Sender:"@ffffffff:matrix.org", Type:"m.room.message", Timestamp:1572197890093, ID:"$1572197890357019smzvv:matrix.org", RoomID:"!ttttttttttt:matrix.org", Content:map[string]interface {}{"body":"[Tom 🐲@telegram] ", "msgtype":"m.text"}, Redacts:"", Unsigned:map[string]interface {}{"age":687, "transaction_id":"go1572197889941062614"}}
[0055] DEBUG matrix:       result: &gomatrix.RespMediaUpload{ContentURI:"mxc://matrix.org/RSwAuObxISoafcLOfPTStWxn"}
[0055] DEBUG gateway:      => Sending config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"7813", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}} from telegram.ffffffff (-111111111) to discord.test (ID:543030866390024203)
[0055] DEBUG discord:      => Receiving config.Message{Text:"", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0055] DEBUG discord:      Broadcasting using Webhook
[0055] DEBUG discord:      Processing webhook sending for message config.Message{Text:"", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936077c8496e, ext:54093734004, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc0002881e0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0055] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068945882185739", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Timestamp:"2019-10-27T17:38:11.446000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac2800), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000b493e0)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0055] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068945882185739", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Timestamp:"2019-10-27T17:38:11.446000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc0000bfd80), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc00044d860)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0055] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068945882185739", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Timestamp:"2019-10-27T17:38:11.446000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc0000bfc00), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc00044c9c0)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0055] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068945882185739", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Timestamp:"2019-10-27T17:38:11.446000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac2a00), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc0003642a0)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0055] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068945882185739", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Timestamp:"2019-10-27T17:38:11.446000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0e300), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000406c60)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0055] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068945882185739", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Timestamp:"2019-10-27T17:38:11.446000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0e480), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000407980)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0055]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0055] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.ggg to gateway
[0055] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.ggg", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068945882185739", Extra:map[string][]interface {}(nil)}
[0055]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0055] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.vvv to gateway
[0055] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.vvv", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068945882185739", Extra:map[string][]interface {}(nil)}
[0055]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0055] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.lll to gateway
[0055] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.lll", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068945882185739", Extra:map[string][]interface {}(nil)}
[0055]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0055] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssfff to gateway
[0055] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssfff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068945882185739", Extra:map[string][]interface {}(nil)}
[0055]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0055] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssddd to gateway
[0055] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssddd", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068945882185739", Extra:map[string][]interface {}(nil)}
[0056] DEBUG matrix:       == Receiving event: &gomatrix.Event{StateKey:(*string)(nil), Sender:"@ffffffff:matrix.org", Type:"m.room.message", Timestamp:1572197890760, ID:"$1572197890357023COkDj:matrix.org", RoomID:"!ttttttttttt:matrix.org", Content:map[string]interface {}{"body":"file_62018.png", "info":map[string]interface {}{"thumbnail_info":map[string]interface {}{}}, "msgtype":"m.image", "url":"mxc://matrix.org/RSwAuObxISoafcLOfPTStWxn"}, Redacts:"", Unsigned:map[string]interface {}{"age":1141, "transaction_id":"go1572197890713971410"}}
[0057]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0057] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.eeee to gateway
[0057] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638068945882185738/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.eeee", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068945882185739", Extra:map[string][]interface {}(nil)}
[0065] DEBUG telegram:     == Receiving event: &tgbotapi.Message{MessageID:7814, From:(*tgbotapi.User)(0xc000975900), Date:1572197901, Chat:(*tgbotapi.Chat)(0xc0004e87e0), ForwardFrom:(*tgbotapi.User)(nil), ForwardFromChat:(*tgbotapi.Chat)(nil), ForwardFromMessageID:0, ForwardDate:0, ReplyToMessage:(*tgbotapi.Message)(nil), EditDate:0, Text:"this is a test, bla bla bla", Entities:(*[]tgbotapi.MessageEntity)(nil), Audio:(*tgbotapi.Audio)(nil), Document:(*tgbotapi.Document)(nil), Animation:(*tgbotapi.ChatAnimation)(nil), Game:(*tgbotapi.Game)(nil), Photo:(*[]tgbotapi.PhotoSize)(nil), Sticker:(*tgbotapi.Sticker)(nil), Video:(*tgbotapi.Video)(nil), VideoNote:(*tgbotapi.VideoNote)(nil), Voice:(*tgbotapi.Voice)(nil), Caption:"", Contact:(*tgbotapi.Contact)(nil), Location:(*tgbotapi.Location)(nil), Venue:(*tgbotapi.Venue)(nil), NewChatMembers:(*[]tgbotapi.User)(nil), LeftChatMember:(*tgbotapi.User)(nil), NewChatTitle:"", NewChatPhoto:(*[]tgbotapi.PhotoSize)(nil), DeleteChatPhoto:false, GroupChatCreated:false, SuperGroupChatCreated:false, ChannelChatCreated:false, MigrateToChatID:0, MigrateFromChatID:0, PinnedMessage:(*tgbotapi.Message)(nil), Invoice:(*tgbotapi.Invoice)(nil), SuccessfulPayment:(*tgbotapi.SuccessfulPayment)(nil), PassportData:(*tgbotapi.PassportData)(nil)}
[0065] DEBUG telegram:     <= Sending message from Tom 🐲 on telegram.ffffffff to gateway
[0065] DEBUG telegram:     <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"7814", Extra:map[string][]interface {}{}}
[0065] DEBUG gateway:      => Sending config.Message{Text:"this is a test, bla bla bla", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"7814", Extra:map[string][]interface {}{}} from telegram.ffffffff (-111111111) to matrix.ffffffff (!ttttttttttt:matrix.org)
[0065] DEBUG matrix:       => Receiving config.Message{Text:"this is a test, bla bla bla", Channel:"!ttttttttttt:matrix.org", Username:"[Tom 🐲@telegram] ", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0065] DEBUG matrix:       Channel !ttttttttttt:matrix.org maps to channel id !ttttttttttt:matrix.org
[0065] DEBUG gateway:      mID matrix.ffffffff: $1572197901357057OGHRy:matrix.org
[0065] DEBUG gateway:      => Sending config.Message{Text:"this is a test, bla bla bla", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"7814", Extra:map[string][]interface {}{}} from telegram.ffffffff (-111111111) to discord.test (ID:543030866390024203)
[0065] DEBUG discord:      => Receiving config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0065] DEBUG discord:      Broadcasting using Webhook
[0065] DEBUG discord:      Processing webhook sending for message config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0065] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068987724300346", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"this is a test, bla bla bla", Timestamp:"2019-10-27T17:38:21.422000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac3600), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0065] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068987724300346", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"this is a test, bla bla bla", Timestamp:"2019-10-27T17:38:21.422000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac3700), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0065] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068987724300346", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"this is a test, bla bla bla", Timestamp:"2019-10-27T17:38:21.422000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0ec80), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0065] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068987724300346", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"this is a test, bla bla bla", Timestamp:"2019-10-27T17:38:21.422000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0ee00), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0065] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068987724300346", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"this is a test, bla bla bla", Timestamp:"2019-10-27T17:38:21.422000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac3800), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0065] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068987724300346", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"this is a test, bla bla bla", Timestamp:"2019-10-27T17:38:21.422000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0ef80), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0065] DEBUG gateway:      mID discord.test: 638068987724300346
[0065] DEBUG gateway:      => Sending config.Message{Text:"this is a test, bla bla bla", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"7814", Extra:map[string][]interface {}{}} from telegram.ffffffff (-111111111) to xmpp.fff (test)
[0065] DEBUG xmpp:         => Receiving config.Message{Text:"this is a test, bla bla bla", Channel:"test", Username:"[Tom 🐲@telegram]", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0065] DEBUG xmpp:         => Sending message config.Message{Text:"this is a test, bla bla bla", Channel:"test", Username:"[Tom 🐲@telegram]", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936342d8e7ce, ext:65205630700, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0065] DEBUG gateway:      mID xmpp.fff: bmqtc39f85suie5bm0m0
[0065] DEBUG xmpp:         == Receiving xmpp.Chat{Remote:"test@s.fff.eu/#", Type:"groupchat", Text:"[Tom 🐲@telegram]this is a test, bla bla bla", Subject:"", Thread:"", Ooburl:"", Oobdesc:"", ID:"bmqtc39f85suie5bm0m0", ReplaceID:"", Roster:xmpp.Roster(nil), Other:[]string{""}, OtherElem:[]xmpp.XMLElement{xmpp.XMLElement{XMLName:xml.Name{Space:"urn:xmpp:sid:0", Local:"stanza-id"}, InnerXML:""}}, Stamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
[0065]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0065] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssddd to gateway
[0065] DEBUG discord:      <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssddd", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068987724300346", Extra:map[string][]interface {}(nil)}
[0065]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0065] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.lll to gateway
[0065] DEBUG discord:      <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.lll", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068987724300346", Extra:map[string][]interface {}(nil)}
[0065]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0065] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssfff to gateway
[0065] DEBUG discord:      <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssfff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068987724300346", Extra:map[string][]interface {}(nil)}
[0065]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0065] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.ggg to gateway
[0065] DEBUG discord:      <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.ggg", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068987724300346", Extra:map[string][]interface {}(nil)}
[0065]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0065] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.eeee to gateway
[0065] DEBUG discord:      <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.eeee", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068987724300346", Extra:map[string][]interface {}(nil)}
[0066] DEBUG matrix:       == Receiving event: &gomatrix.Event{StateKey:(*string)(nil), Sender:"@ffffffff:matrix.org", Type:"m.room.message", Timestamp:1572197901098, ID:"$1572197901357057OGHRy:matrix.org", RoomID:"!ttttttttttt:matrix.org", Content:map[string]interface {}{"body":"[Tom 🐲@telegram] this is a test, bla bla bla", "format":"org.matrix.custom.html", "formatted_body":"[Tom 🐲@telegram] this is a test, bla bla bla", "msgtype":"m.text"}, Redacts:"", Unsigned:map[string]interface {}{"age":1286, "transaction_id":"go1572197901048844271"}}
[0066] DEBUG telegram:     == Receiving event: &tgbotapi.Message{MessageID:7815, From:(*tgbotapi.User)(0xc00110e050), Date:1572197902, Chat:(*tgbotapi.Chat)(0xc0004e8c60), ForwardFrom:(*tgbotapi.User)(nil), ForwardFromChat:(*tgbotapi.Chat)(nil), ForwardFromMessageID:0, ForwardDate:0, ReplyToMessage:(*tgbotapi.Message)(nil), EditDate:0, Text:"test no2", Entities:(*[]tgbotapi.MessageEntity)(nil), Audio:(*tgbotapi.Audio)(nil), Document:(*tgbotapi.Document)(nil), Animation:(*tgbotapi.ChatAnimation)(nil), Game:(*tgbotapi.Game)(nil), Photo:(*[]tgbotapi.PhotoSize)(nil), Sticker:(*tgbotapi.Sticker)(nil), Video:(*tgbotapi.Video)(nil), VideoNote:(*tgbotapi.VideoNote)(nil), Voice:(*tgbotapi.Voice)(nil), Caption:"", Contact:(*tgbotapi.Contact)(nil), Location:(*tgbotapi.Location)(nil), Venue:(*tgbotapi.Venue)(nil), NewChatMembers:(*[]tgbotapi.User)(nil), LeftChatMember:(*tgbotapi.User)(nil), NewChatTitle:"", NewChatPhoto:(*[]tgbotapi.PhotoSize)(nil), DeleteChatPhoto:false, GroupChatCreated:false, SuperGroupChatCreated:false, ChannelChatCreated:false, MigrateToChatID:0, MigrateFromChatID:0, PinnedMessage:(*tgbotapi.Message)(nil), Invoice:(*tgbotapi.Invoice)(nil), SuccessfulPayment:(*tgbotapi.SuccessfulPayment)(nil), PassportData:(*tgbotapi.PassportData)(nil)}
[0066] DEBUG telegram:     <= Sending message from Tom 🐲 on telegram.ffffffff to gateway
[0066] DEBUG telegram:     <= Message is config.Message{Text:"test no2", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"7815", Extra:map[string][]interface {}{}}
[0066] DEBUG gateway:      => Sending config.Message{Text:"test no2", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"7815", Extra:map[string][]interface {}{}} from telegram.ffffffff (-111111111) to matrix.ffffffff (!ttttttttttt:matrix.org)
[0066] DEBUG matrix:       => Receiving config.Message{Text:"test no2", Channel:"!ttttttttttt:matrix.org", Username:"[Tom 🐲@telegram] ", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0066] DEBUG matrix:       Channel !ttttttttttt:matrix.org maps to channel id !ttttttttttt:matrix.org
[0066]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0066] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.vvv to gateway
[0066] DEBUG discord:      <= Message is config.Message{Text:"this is a test, bla bla bla", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.vvv", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068987724300346", Extra:map[string][]interface {}(nil)}
[0067] DEBUG matrix:       == Receiving event: &gomatrix.Event{StateKey:(*string)(nil), Sender:"@ffffffff:matrix.org", Type:"m.room.message", Timestamp:1572197902877, ID:"$1572197902357062MuAZZ:matrix.org", RoomID:"!ttttttttttt:matrix.org", Content:map[string]interface {}{"body":"[Tom 🐲@telegram] test no2", "format":"org.matrix.custom.html", "formatted_body":"[Tom 🐲@telegram] test no2", "msgtype":"m.text"}, Redacts:"", Unsigned:map[string]interface {}{"age":109, "transaction_id":"go1572197902563102683"}}
[0067] DEBUG gateway:      mID matrix.ffffffff: $1572197902357062MuAZZ:matrix.org
[0067] DEBUG gateway:      => Sending config.Message{Text:"test no2", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"7815", Extra:map[string][]interface {}{}} from telegram.ffffffff (-111111111) to discord.test (ID:543030866390024203)
[0067] DEBUG discord:      => Receiving config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0067] DEBUG discord:      Broadcasting using Webhook
[0067] DEBUG discord:      Processing webhook sending for message config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0067] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068995660185640", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"test no2", Timestamp:"2019-10-27T17:38:23.314000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0fc80), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0067] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068995660185640", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"test no2", Timestamp:"2019-10-27T17:38:23.314000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0fd80), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0067] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068995660185640", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"test no2", Timestamp:"2019-10-27T17:38:23.314000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc001188500), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0067] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068995660185640", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"test no2", Timestamp:"2019-10-27T17:38:23.314000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0ff00), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0067] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068995660185640", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"test no2", Timestamp:"2019-10-27T17:38:23.314000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0ff80), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0067] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638068995660185640", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"test no2", Timestamp:"2019-10-27T17:38:23.314000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc001188600), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0067] DEBUG gateway:      mID discord.test: 638068995660185640
[0067] DEBUG gateway:      => Sending config.Message{Text:"test no2", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"7815", Extra:map[string][]interface {}{}} from telegram.ffffffff (-111111111) to xmpp.fff (test)
[0067] DEBUG xmpp:         => Receiving config.Message{Text:"test no2", Channel:"test", Username:"[Tom 🐲@telegram]", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0067] DEBUG xmpp:         => Sending message config.Message{Text:"test no2", Channel:"test", Username:"[Tom 🐲@telegram]", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf659363a187f263, ext:66720418664, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{}}
[0067] DEBUG gateway:      mID xmpp.fff: bmqtc3pf85suie5bm0mg
[0067] DEBUG xmpp:         == Receiving xmpp.Chat{Remote:"test@s.fff.eu/#", Type:"groupchat", Text:"[Tom 🐲@telegram]test no2", Subject:"", Thread:"", Ooburl:"", Oobdesc:"", ID:"bmqtc3pf85suie5bm0mg", ReplaceID:"", Roster:xmpp.Roster(nil), Other:[]string{""}, OtherElem:[]xmpp.XMLElement{xmpp.XMLElement{XMLName:xml.Name{Space:"urn:xmpp:sid:0", Local:"stanza-id"}, InnerXML:""}}, Stamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
[0067]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0067] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssddd to gateway
[0067] DEBUG discord:      <= Message is config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssddd", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068995660185640", Extra:map[string][]interface {}(nil)}
[0067]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0067] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.vvv to gateway
[0067] DEBUG discord:      <= Message is config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.vvv", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068995660185640", Extra:map[string][]interface {}(nil)}
[0067]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0067] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.lll to gateway
[0067] DEBUG discord:      <= Message is config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.lll", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068995660185640", Extra:map[string][]interface {}(nil)}
[0067]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0067] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.ggg to gateway
[0067] DEBUG discord:      <= Message is config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.ggg", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068995660185640", Extra:map[string][]interface {}(nil)}
[0068]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0068] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssfff to gateway
[0068] DEBUG discord:      <= Message is config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssfff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068995660185640", Extra:map[string][]interface {}(nil)}
[0068]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0068] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.eeee to gateway
[0068] DEBUG discord:      <= Message is config.Message{Text:"test no2", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.eeee", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638068995660185640", Extra:map[string][]interface {}(nil)}
[0069] DEBUG telegram:     == Receiving event: &tgbotapi.Message{MessageID:7816, From:(*tgbotapi.User)(0xc0007ac4b0), Date:1572197905, Chat:(*tgbotapi.Chat)(0xc0004e8360), ForwardFrom:(*tgbotapi.User)(nil), ForwardFromChat:(*tgbotapi.Chat)(nil), ForwardFromMessageID:0, ForwardDate:0, ReplyToMessage:(*tgbotapi.Message)(nil), EditDate:0, Text:"", Entities:(*[]tgbotapi.MessageEntity)(nil), Audio:(*tgbotapi.Audio)(nil), Document:(*tgbotapi.Document)(nil), Animation:(*tgbotapi.ChatAnimation)(nil), Game:(*tgbotapi.Game)(nil), Photo:(*[]tgbotapi.PhotoSize)(nil), Sticker:(*tgbotapi.Sticker)(0xc0007ac5a0), Video:(*tgbotapi.Video)(nil), VideoNote:(*tgbotapi.VideoNote)(nil), Voice:(*tgbotapi.Voice)(nil), Caption:"", Contact:(*tgbotapi.Contact)(nil), Location:(*tgbotapi.Location)(nil), Venue:(*tgbotapi.Venue)(nil), NewChatMembers:(*[]tgbotapi.User)(nil), LeftChatMember:(*tgbotapi.User)(nil), NewChatTitle:"", NewChatPhoto:(*[]tgbotapi.PhotoSize)(nil), DeleteChatPhoto:false, GroupChatCreated:false, SuperGroupChatCreated:false, ChannelChatCreated:false, MigrateToChatID:0, MigrateFromChatID:0, PinnedMessage:(*tgbotapi.Message)(nil), Invoice:(*tgbotapi.Invoice)(nil), SuccessfulPayment:(*tgbotapi.SuccessfulPayment)(nil), PassportData:(*tgbotapi.PassportData)(nil)}
[0069] DEBUG telegram:     Trying to download "file_62018.webp" with size 26390
[0069] DEBUG telegram:     WebP to PNG conversion enabled, converting file_62018.webp
[0069] DEBUG telegram:     Download OK "file_62018.png" 258170
[0069] DEBUG telegram:     <= Sending message from Tom 🐲 on telegram.ffffffff to gateway
[0069] DEBUG telegram:     <= Message is config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"7816", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"", Size:0, Avatar:false, SHA:""}}}}
[0069] DEBUG gateway:      mediaserver path placing file: /var/www/b.fff.eu/web/32329106/file_62018.png
[0069] DEBUG gateway:      mediaserver download URL = http://b.fff.eu/32329106/file_62018.png
[0069] DEBUG gateway:      => Sending config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"7816", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}} from telegram.ffffffff (-111111111) to matrix.ffffffff (!ttttttttttt:matrix.org)
[0069] DEBUG matrix:       => Receiving config.Message{Text:"", Channel:"!ttttttttttt:matrix.org", Username:"[Tom 🐲@telegram] ", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0069] DEBUG matrix:       Channel !ttttttttttt:matrix.org maps to channel id !ttttttttttt:matrix.org
[0070] DEBUG matrix:       uploading file: file_62018.png image/png
[0071] DEBUG matrix:       sendImage mxc://matrix.org/EqFUrjTQCMnpYSEsSfBuZdoL
[0071] DEBUG matrix:       == Receiving event: &gomatrix.Event{StateKey:(*string)(nil), Sender:"@ffffffff:matrix.org", Type:"m.room.message", Timestamp:1572197905366, ID:"$1572197905357067gmAQQ:matrix.org", RoomID:"!ttttttttttt:matrix.org", Content:map[string]interface {}{"body":"[Tom 🐲@telegram] ", "msgtype":"m.text"}, Redacts:"", Unsigned:map[string]interface {}{"age":1819, "transaction_id":"go1572197905316408709"}}
[0072] DEBUG matrix:       result: &gomatrix.RespMediaUpload{ContentURI:"mxc://matrix.org/EqFUrjTQCMnpYSEsSfBuZdoL"}
[0072] DEBUG gateway:      => Sending config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"7816", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}} from telegram.ffffffff (-111111111) to discord.test (ID:543030866390024203)
[0072] DEBUG discord:      => Receiving config.Message{Text:"", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0072] DEBUG discord:      Broadcasting using Webhook
[0072] DEBUG discord:      Processing webhook sending for message config.Message{Text:"", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0072] DEBUG matrix:       == Receiving event: &gomatrix.Event{StateKey:(*string)(nil), Sender:"@ffffffff:matrix.org", Type:"m.room.message", Timestamp:1572197906929, ID:"$1572197906357072qdTMT:matrix.org", RoomID:"!ttttttttttt:matrix.org", Content:map[string]interface {}{"body":"file_62018.png", "info":map[string]interface {}{"thumbnail_info":map[string]interface {}{}}, "msgtype":"m.image", "url":"mxc://matrix.org/EqFUrjTQCMnpYSEsSfBuZdoL"}, Redacts:"", Unsigned:map[string]interface {}{"age":1337, "transaction_id":"go1572197906889539915"}}
[0072] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638069016765792291", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Timestamp:"2019-10-27T17:38:28.346000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0e600), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000364540)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0072] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638069016765792291", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Timestamp:"2019-10-27T17:38:28.346000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac3100), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000407a40)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0072] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638069016765792291", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Timestamp:"2019-10-27T17:38:28.346000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac3200), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000214600)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0072] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638069016765792291", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Timestamp:"2019-10-27T17:38:28.346000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0e780), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc00021a5a0)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0072] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638069016765792291", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Timestamp:"2019-10-27T17:38:28.346000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000ac3400), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc000215b60)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0072] DEBUG discord:      == Receiving event &discordgo.Message{ID:"638069016765792291", ChannelID:"543030866390024203", GuildID:"543030562286469150", Content:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Timestamp:"2019-10-27T17:38:28.346000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000a0e800), Attachments:[]*discordgo.MessageAttachment{(*discordgo.MessageAttachment)(0xc00021acc0)}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"543030950448201728", Member:(*discordgo.Member)(nil), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0072] DEBUG gateway:      => Sending config.Message{Text:"", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"7816", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}} from telegram.ffffffff (-111111111) to xmpp.fff (test)
[0072] DEBUG xmpp:         => Receiving config.Message{Text:"", Channel:"test", Username:"[Tom 🐲@telegram]", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"telegram", Gateway:"TEST_STUFF", ParentID:"", Timestamp:time.Time{wall:0xbf65936452d2ee3a, ext:69473674564, loc:(*time.Location)(0x1e1c5a0)}, ID:"", Extra:map[string][]interface {}{"file":[]interface {}{config.FileInfo{Name:"file_62018.png", Data:(*[]uint8)(0xc000217de0), Comment:"", URL:"http://b.fff.eu/32329106/file_62018.png", Size:0, Avatar:false, SHA:"32329106"}}}}
[0072] DEBUG xmpp:         == Receiving xmpp.Chat{Remote:"test@s.fff.eu/#", Type:"groupchat", Text:"[Tom 🐲@telegram]http://b.fff.eu/32329106/file_62018.png", Subject:"", Thread:"", Ooburl:"", Oobdesc:"", ID:"", ReplaceID:"", Roster:xmpp.Roster(nil), Other:[]string{""}, OtherElem:[]xmpp.XMLElement{xmpp.XMLElement{XMLName:xml.Name{Space:"urn:xmpp:sid:0", Local:"stanza-id"}, InnerXML:""}}, Stamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
[0072] DEBUG xmpp:         == Receiving xmpp.Chat{Remote:"test@s.fff.eu/#", Type:"groupchat", Text:"", Subject:"", Thread:"", Ooburl:"", Oobdesc:"", ID:"", ReplaceID:"", Roster:xmpp.Roster(nil), Other:[]string{""}, OtherElem:[]xmpp.XMLElement{xmpp.XMLElement{XMLName:xml.Name{Space:"jabber:x:oob", Local:"x"}, InnerXML:"<url>http://b.fff.eu/32329106/file_62018.png</url>"}}, Stamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
[0072]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0072] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.vvv to gateway
[0072] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.vvv", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638069016765792291", Extra:map[string][]interface {}(nil)}
[0072]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0072] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.ggg to gateway
[0072] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.ggg", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638069016765792291", Extra:map[string][]interface {}(nil)}
[0072]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0072] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssfff to gateway
[0072] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssfff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638069016765792291", Extra:map[string][]interface {}(nil)}
[0072]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0072] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.lll to gateway
[0072] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.lll", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638069016765792291", Extra:map[string][]interface {}(nil)}
[0072]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0072] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.sssddd to gateway
[0072] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.sssddd", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638069016765792291", Extra:map[string][]interface {}(nil)}
[0073]  WARN discord:      Failed to fetch information for member &discordgo.User{ID:"543030950448201728", Email:"", Username:"Tom 🐲@telegram", Avatar:"", Locale:"", Discriminator:"0000", Token:"", Verified:false, MFAEnabled:false, Bot:true} on guild "543030562286469150": HTTP 404 Not Found, {"message": "Unknown User", "code": 10013}
[0073] DEBUG discord:      <= Sending message from Tom 🐲@telegram on discord.eeee to gateway
[0073] DEBUG discord:      <= Message is config.Message{Text:"\nhttps://cdn.discordapp.com/attachments/543030866390024203/638069016325521431/file_62018.png", Channel:"ID:543030866390024203", Username:"Tom 🐲@telegram", UserID:"543030950448201728", Avatar:"https://cdn.discordapp.com/avatars/543030950448201728/.jpg", Account:"discord.eeee", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"638069016765792291", Extra:map[string][]interface {}(nil)}

@qaisjp
Copy link
Collaborator

qaisjp commented Oct 27, 2019

You can use code blocks:

```
LOG CONTENT
```

renders as

LOG CONTENT

Or even better, just surround with <details><pre> and </pre></details>, so it looks like this:

LOG
    !!!!
CONTENT

@ghost
Copy link

ghost commented Nov 3, 2019

I have this same problem. Telegram avatars aren't showing up in Discord.

@TomTheDragon
Copy link
Author

Any updates on this? Like i said there is no way to get a Caddy going, since there is no upload plugin anymore and i think its the better option to be able to use Nginx, since its running anyway.

@BenWiederhake
Copy link
Contributor

I ran into the same issue, also with telegram<=>discord. It seems to be an issue with Telegram, given that the avatar is already missing (Avatar:"") in the received message:

[7462] DEBUG telegram:     <= Message is config.Message{Text:"Test *mit* Avatar!", Channel:"-10███████████", Username:"Ben", UserID:"█████████", Avatar:"", Account:"telegram.mytelegram", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"4██", Extra:map[string][]interface {}{}}

Note that the same thing happens with TomTheDragon:

[0066] DEBUG telegram:     <= Message is config.Message{Text:"test no2", Channel:"-111111111", Username:"Tom 🐲", UserID:"50000000", Avatar:"", Account:"telegram.ffffffff", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"7815", Extra:map[string][]interface {}{}}

@42wim
Copy link
Owner

42wim commented Feb 9, 2020

@TomTheDragon @BenWiederhake
You do have MediaServerUpload configured right?

Can anyone paste their (be sure to redact token/pass) config ?

@BenWiederhake
Copy link
Contributor

Sure! I'm currently using this:

[general]
MediaDownloadPath="/external/http-serve/myfolder"
MediaServerDownload="https://████████████████/myfolder"

[telegram.mytelegram]
Token="█████████:███████████████████████████████████"
RemoteNickFormat="{NICK}@{PROTOCOL}: "
MediaConvertWebPToPNG=true
#QuoteFormat="{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})"
UseFirstName=true

[irc.myirc]
Nick="████████"
NickServNick="████████"
NickServPassword="████████████████████████"
Server="irc.freenode.net:6697"
UseTLS=true
UseSASL=true
SkipTLSVerify=false
RemoteNickFormat="{NICK}@{PROTOCOL}: "
Charset="utf-8"

[discord.mydiscord]
Token="███████████████████████████████████████████████████████████"
Server="████████"
RemoteNickFormat="{NICK}@{PROTOCOL}"

[[gateway]]
name="████████████████"
enable=true

[[gateway.inout]]
account="telegram.mytelegram"
channel="-1████████████"

[[gateway.inout]]
account="irc.myirc"
channel="#████████████"

[[gateway.inout]]
account="discord.mydiscord"
channel="random"
[gateway.inout.options]
WebhookURL="https://discordapp.com/api/webhooks/████████████████████/████████████████████████████████████████████████████"

Btw: Your <details><pre> trick doesn't work.

Specifically, this source:

<details><pre>
Paragraph1 Line1
Paragraph1 Line2
Paragraph1 Line3

Paragraph2 Line1
Paragraph2 Line2
Paragraph2 Line3

Paragraph3 Line1
Paragraph3 Line2
Paragraph3 Line3

Paragraph4 Line1
Paragraph4 Line2
Paragraph4 Line3
</pre></details>

Renders as:

Paragraph1 Line1
Paragraph1 Line2
Paragraph1 Line3

Paragraph2 Line1
Paragraph2 Line2
Paragraph2 Line3

Paragraph3 Line1
Paragraph3 Line2
Paragraph3 Line3

Paragraph4 Line1
Paragraph4 Line2
Paragraph4 Line3

… which is completely broken.

So instead, I write this source (which you can't copy, because of evil Unicode black magic to avoid rendering):

<details>

```
Paragraph1 Line1
Paragraph1 Line2
Paragraph1 Line3

Paragraph2 Line1
Paragraph2 Line2
Paragraph2 Line3

Paragraph3 Line1
Paragraph3 Line2
Paragraph3 Line3

Paragraph4 Line1
Paragraph4 Line2
Paragraph4 Line3
```

</details>

… which renders as the perfectly functional:

Paragraph1 Line1
Paragraph1 Line2
Paragraph1 Line3

Paragraph2 Line1
Paragraph2 Line2
Paragraph2 Line3

Paragraph3 Line1
Paragraph3 Line2
Paragraph3 Line3

Paragraph4 Line1
Paragraph4 Line2
Paragraph4 Line3

Now please excuse me while I wash this filthy Unicode/Markdown hackery from my hands.

@BenWiederhake
Copy link
Contributor

And in case the version is relevant:

$ ./matterbridge-1.16.5-linux-armv6 --version
version: 1.16.5 4be00bbe
$ sha256sum matterbridge-1.16.5-linux-armv6 
63a0daa987bf320a05b316c5560cf4b5ee0e7f42186cad30d696bd04c6435e6f  matterbridge-1.16.5-linux-armv6

@TomTheDragon
Copy link
Author

TomTheDragon commented Feb 15, 2020

@TomTheDragon @BenWiederhake
You do have MediaServerUpload configured right?

Can anyone paste their (be sure to redact token/pass) config ?

I am pretty sure that i had the config correct, since other types of uploads (pictures, videos etc) did work fine.

@42wim
Copy link
Owner

42wim commented Feb 15, 2020

@TomTheDragon do you have MediaServerUpload configured?
Because the current code path checks if MediaServerUpload is configured and only then downloads the avatar.

I'm adding a PR to make this work with MediaServerDownload too.

@42wim 42wim closed this as completed in e343db6 Feb 15, 2020
@42wim
Copy link
Owner

42wim commented Feb 15, 2020

It's in master now, if this didn't fix it feel free to reopen

@TomTheDragon
Copy link
Author

It seems to work fine now, thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants