Fix displaying notification for foreign message
This commit is contained in:
parent
778dae6470
commit
e5fac79b02
@ -4668,7 +4668,7 @@ export class AppMessagesManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const recentReactions = reactions?.recent_reactions;
|
const recentReactions = reactions?.recent_reactions;
|
||||||
if(recentReactions?.length) {
|
if(recentReactions?.length && message.pFlags.out) {
|
||||||
const recentReaction = recentReactions[recentReactions.length - 1];
|
const recentReaction = recentReactions[recentReactions.length - 1];
|
||||||
const previousReactions = message.reactions;
|
const previousReactions = message.reactions;
|
||||||
const previousRecentReactions = previousReactions?.recent_reactions;
|
const previousRecentReactions = previousReactions?.recent_reactions;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user