Skip to content

Commit 3813ef4

Browse files
committed
Suppress room name from puppet bridge notifications.
1 parent bb22d74 commit 3813ef4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sygnal/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ def __init__(self, notif):
100100
else:
101101
self.__dict__[a] = None
102102

103+
if self.__dict__['sender'].startswith("@__mpb__"):
104+
self.__dict__['room_name'] = None
105+
103106
if 'devices' not in notif or not isinstance(notif['devices'], list):
104107
raise InvalidNotificationException("Expected list in 'devices' key")
105108

0 commit comments

Comments
 (0)