mirror of
https://github.com/cinnyapp/cinny.git
synced 2026-11-26 20:06:32 -08:00
fix reactions with empty content appears in timeline
This commit is contained in:
1 parent
69bc5eab70
commit
47ac3cb762
1 file changed
+8
-4
@@ -70,12 +70,16 @@ export class RelationsProcessor implements Disposable {
|
||||
editEvents.push(event);
|
||||
}
|
||||
|
||||
// Handle reactions events
|
||||
if (event.type === MessageEvent.Reaction) {
|
||||
if (relation(event)) {
|
||||
reactionEvents.push(event);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// Handle relation events
|
||||
if (relation(event)) {
|
||||
if (event.type === MessageEvent.Reaction) {
|
||||
reactionEvents.push(event);
|
||||
return;
|
||||
}
|
||||
if (replacement(event)) {
|
||||
editEvents.push(event);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user