make crypto work out of the box

This commit is contained in:
saces 2024-11-04 20:10:50 +01:00
parent b54883bb70
commit b642d7d62f

View file

@ -1082,7 +1082,7 @@ class MatrixServer(object):
room_id, # type: str room_id, # type: str
content, # type: Dict[str, str] content, # type: Dict[str, str]
event_type="m.room.message", # type: str event_type="m.room.message", # type: str
ignore_unverified_devices=False, # type: bool ignore_unverified_devices=True, # type: bool
): ):
# type: (...) -> UUID # type: (...) -> UUID
assert self.client assert self.client
@ -1114,7 +1114,7 @@ class MatrixServer(object):
room_buffer, # type: RoomBuffer room_buffer, # type: RoomBuffer
formatted, # type: Formatted formatted, # type: Formatted
msgtype="m.text", # type: str msgtype="m.text", # type: str
ignore_unverified_devices=False, # type: bool ignore_unverified_devices=True, # type: bool
in_reply_to_event_id="", # type: str in_reply_to_event_id="", # type: str
): ):
# type: (...) -> bool # type: (...) -> bool