mirror of
https://git.sr.ht/~emerson/reflectionircd
synced 2025-08-05 16:59:10 +00:00
add some room events to a list to ignore
This commit is contained in:
parent
74fc22f6e0
commit
3d101f202a
1 changed files with 14 additions and 0 deletions
|
@ -148,6 +148,20 @@ export class Channel {
|
|||
case 'm.room.topic':
|
||||
this.handleMatrixTopic(event);
|
||||
break;
|
||||
// Add some events we aren't going to use now (or ever)
|
||||
case 'm.room.name':
|
||||
case 'm.room.create':
|
||||
case 'uk.half-shot.bridge':
|
||||
case 'org.matrix.appservice-irc.config':
|
||||
case 'org.matrix.appservice-irc.connection':
|
||||
case 'im.vector.modular.widgets':
|
||||
case 'm.room.avatar':
|
||||
case 'm.room.third_party_invite':
|
||||
case 'm.room.related_groups':
|
||||
case 'm.room.bot.options':
|
||||
case 'm.room.pinned_events':
|
||||
case 'm.room.tombstone':
|
||||
break;
|
||||
default:
|
||||
console.log(event["type"]);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue