Don't react to decryption failures, prevents spamming old messages
This commit is contained in:
parent
b3f8eff685
commit
b1c75d3268
|
@ -177,15 +177,15 @@ class Callbacks:
|
|||
f"commands a second time)."
|
||||
)
|
||||
|
||||
red_x_and_lock_emoji = "❌ 🔐"
|
||||
# red_x_and_lock_emoji = "❌ 🔐"
|
||||
|
||||
# React to the undecryptable event with some emoji
|
||||
await react_to_event(
|
||||
self.client,
|
||||
room.room_id,
|
||||
event.event_id,
|
||||
red_x_and_lock_emoji,
|
||||
)
|
||||
# await react_to_event(
|
||||
# self.client,
|
||||
# room.room_id,
|
||||
# event.event_id,
|
||||
# red_x_and_lock_emoji,
|
||||
# )
|
||||
|
||||
async def unknown(self, room: MatrixRoom, event: UnknownEvent) -> None:
|
||||
"""Callback for when an event with a type that is unknown to matrix-nio is received.
|
||||
|
|
Loading…
Reference in New Issue