Open ericmigi opened 4 years ago
Can you increase your logging to "silly" so that it logs the contents of that slack event? Thank you!
figured it out! It looks these messages show as 'User changed their avatar' on RiotX but show up as * This message shows as deleted on Riot-web because I have 'show avatar changes' disabled. Intended functionality should be no message displayed right?
uuuuuuh, wut? Do you mean this message is originating from slack or from matrix? If it is from slack, what does the raw slack payload look like? (visible when log levels are set to "silly")
sorry for the delay, the issue is still occurring, here are the logs for several messages that came through as '* this message was deleted'
May-21 04:56:00.634 [Util] info: Processing profile update...
May-21 04:56:00.635 [Util] verbose: {
mxid: '!KADNkjxDVAJiwcPnuf:nova.chat',
roomId: 'T02A11S1M-C02A2M5DZ',
puppetId: -1,
isDirect: false,
e2be: false,
isUsed: true,
name: 'inthenews - YC Slack',
avatarUrl: 'https://avatars.slack-edge.com/2014-11-25/3051004e8bd67f13d72a1_original.jpg',
avatarMxc: 'mxc://nova.chat/ErmOsdgRTSLnzgO',
avatarHash: '5f806eed7273c6afc64e0745457e999f85b69d167b529924c7ecde6508698b7a80d8a28a204f1a52bf3',
topic: 'News stories in the YC universe',
groupId: null,
externalUrl: null
} --> {
puppetId: 3,
roomId: 'T02A11S1M-C02A2M5DZ',
nameVars: { name: 'inthenews', team: 'YC', type: 'channel' },
avatarUrl: 'https://avatars.slack-edge.com/2014-11-25/308843d72a1_original.jpg',
topic: 'News stories in the YC universe',
isDirect: false,
groupId: 'T02A11S1M'
}
May-21 04:56:00.636 [Util] verbose: Old profile exists, looking at diff...
May-21 04:56:00.636 [RoomSync] verbose: Group sync is disabled
May-21 04:56:00.636 [RoomSync] verbose: Returning mxid
May-21 04:56:00.637 [RemoteEventHandler] silly: Joining ghost to room...
May-21 04:56:00.638 [bot-sdk-MatrixLiteClient] info: (REQ-1) GET https://asmux.nova.chat/_matrix/client/r0/joined_rooms
May-21 04:56:00.638 [bot-sdk-MatrixLiteClient] debug: (REQ-1) qs = {"user_id":"@_eric_slack___t02_a11_s1_m=2d_u2_v958_h_m_m:nova.chat"}
May-21 04:56:00.640 [bot-sdk-Metrics] debug: intent_function_call
May-21 04:56:00.713 [SlackClient:Client] debug: RTM event: message
May-21 04:56:00.714 [SlackClient:Client] silly: Processing message with data {
type: 'message',
subtype: 'message_deleted',
hidden: true,
deleted_ts: '1587397979.064200',
channel: 'C02A2M5DZ',
previous_message: {
client_msg_id: '2c3b4a7f-1afc-441b-9277-065f804776d7',
type: 'message',
text: "Do grass?",
user: 'UE01AE6E8',
ts: '1587397979.064200',
team: 'T02A11S1M',
blocks: [ [Object] ],
thread_ts: '1587397979.064200',
reply_count: 0,
reply_users_count: 0,
latest_reply: '0000000000.000000',
reply_users: []
},
event_ts: '1590036960.119100',
ts: '1590036960.119100',
team_id: 'T02A11S1M'
}
May-21 04:56:00.714 [SlackPuppet:slack] verbose: Got new message deleted event
May-21 04:56:00.715 [NamespaceHandler] debug: In global namespace, determining if it should be blocked... puppetId=3 userId=T02A11S1M-UE01AE6E8 roomId=T02A11S1M-C02A2M5DZ
May-21 04:56:00.719 [SlackPuppet:slack] info: Received create request for channel update puppetId=2 roomId=T02A11S1M-C02A2M5DZ
May-21 04:56:00.720 [SlackPuppet:slack] info: Received create request for channel update puppetId=1 roomId=T02A11S1M-C02A2M5DZ
May-21 04:56:00.720 [SlackPuppet:slack] info: Received create request for channel update puppetId=4 roomId=T02A11S1M-C02A2M5DZ
May-21 04:56:00.720 [SlackPuppet:slack] info: Received create request for channel update puppetId=3 roomId=T02A11S1M-C02A2M5DZ
getting this message when nothing apparent has happened in the bridged slack room