matrix: unable to receive messages in existing e2ee room
I built chatty and logged in, and am unable to see any new responses in an existing e2ee room.
Steps to reproduce:
-
send message to room from chatty/matrix
-
confirm that they could see the message I sent
-
someone else responds, nothing is shown in chatty (but I can see the response in some other client)
Output from chatty -vvvv (Note: I removed some usernames/rooms and replaced them with REMOVED):
20:05:18.7690 chatty-xeps[25467]: DEBUG: Cleaning context for SMS
20:05:20.0126 chatty-ma-account[25467]: TRACE: db_load_chats_cb():925: @craftyguy:postmarketos.org Loaded 29 chats from db
20:05:20.0138 chatty-ma-account[25467]: TRACE: db_load_account_cb():880: Create new enc. user: @craftyguy:postmarketos.org has pickle: 1, has key: 1
20:05:20.0163 chatty-ma-account[25467]: TRACE: db_load_account_cb():900: Loaded @craftyguy:postmarketos.org from db. enabled: 1, has next-batch: 1
20:05:20.0168 chatty-ma-account[25467]: TRACE: chatty_ma_account_set_enabled():545: Enable account @craftyguy:postmarketos.org: 1, is loading: 1
20:05:20.0169 chatty-matrix-api[25467]: TRACE: matrix_verify_homeserver():944: verifying homeserver https://synapse.postmarketos.org
20:05:21.1208 chatty-matrix-api[25467]: TRACE: api_get_version_cb():158: https://synapse.postmarketos.org has versions: r0.0.1 r0.1.0 r0.2.0 r0.3.0 r0.4.0 r0.5.0 r0.6.0
20:05:22.4823 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727125_12683024_354907_2720464_74050_151_4396_2155858_11
20:05:22.6616 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:22.8612 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:33.9475 chatty-window[25467]: DEBUG: opening item of type: ChattyMaChat, protocol: 16
20:05:34.0104 chatty-window[25467]: DEBUG: creating new view for chat "REMOVED"
20:05:34.0185 chatty-window[25467]: DEBUG: window_notebook_after_switch_cb: Chat name: !REMOVED
20:05:34.0191 chatty-ma-chat[25467]: TRACE: chatty_ma_chat_real_past_messages():1213: Loading 20 past messages from !REMOVED(REMOVED)
20:05:34.0758 chatty-ma-chat[25467]: TRACE: ma_chat_load_db_messages_cb():1143: Messages loaded from db: 4
20:05:34.8919 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727125_12683067_354907_2720464_74050_151_4396_2155858_11
20:05:34.8923 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:34.8924 chatty-ma-chat[25467]: TRACE: matrix_chat_set_json_data():996: Getting room state of '!FwbcAdwtvCYkHekZKf:talk.puri.sm(community/librem-5)'
20:05:34.8931 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 0 events
20:05:34.9010 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:34.9882 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:36.0601 chatty-ma-chat[25467]: TRACE: get_room_state_cb():869: Got room state, room: !FwbcAdwtvCYkHekZKf:talk.puri.sm (community/librem-5), success: 1
20:05:43.5519 chatty-ma-chat[25467]: TRACE: ENTRY: chatty_ma_chat_send_message_async():1383
20:05:43.5670 chatty-ma-chat[25467]: TRACE: ENTRY: matrix_send_message_from_queue():639
20:05:43.5672 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_send_message_async():1853
20:05:43.5673 chatty-matrix-api[25467]: TRACE: ENTRY: api_send_message():1822
20:05:43.5681 chatty-matrix-api[25467]: TRACE: EXIT: api_send_message():1839
20:05:43.5682 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_send_message_async():1867
20:05:43.5682 chatty-ma-chat[25467]: TRACE: EXIT: matrix_send_message_from_queue():655
20:05:43.5683 chatty-ma-chat[25467]: TRACE: EXIT: chatty_ma_chat_send_message_async():1401
20:05:43.8999 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727125_12683077_354907_2720466_74050_151_4396_2155858_11
20:05:43.9003 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:43.9005 chatty-ma-chat[25467]: TRACE: matrix_chat_set_json_data():996: Getting room state of '!REMOVED(REMOVED)'
20:05:43.9011 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 1 events
20:05:43.9012 chatty-ma-chat[25467]: TRACE: matrix_add_message_from_data():506: Got message, direction: out, type m.text
20:05:43.9018 chatty-matrix-api[25467]: TRACE: ENTRY: api_send_message_cb():212
20:05:43.9023 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_send_message_finish():1875
20:05:43.9024 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_send_message_finish():1881
20:05:43.9025 chatty-ma-chat[25467]: TRACE: ENTRY: matrix_send_message_from_queue():639
20:05:43.9025 chatty-ma-chat[25467]: TRACE: EXIT: matrix_send_message_from_queue():647
20:05:43.9026 chatty-matrix-api[25467]: TRACE: EXIT: api_send_message_cb():231
20:05:43.9476 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_set_read_marker_async():1895
20:05:43.9483 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_set_read_marker_async():1911
20:05:43.9486 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:44.0148 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:44.1002 chatty-ma-chat[25467]: TRACE: get_room_state_cb():869: Got room state, room: !REMOVED (REMOVED), success: 1
20:05:44.7234 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727127_12683083_354908_2720466_74050_151_4396_2155858_11
20:05:44.7237 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:44.7240 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 0 events
20:05:44.7318 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:44.7358 chatty-matrix-api[25467]: TRACE: ENTRY: api_set_read_marker_cb():391
20:05:44.7360 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_set_read_marker_finish():1919
20:05:44.7361 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_set_read_marker_finish():1925
20:05:44.7366 chatty-matrix-api[25467]: TRACE: EXIT: api_set_read_marker_cb():402
20:05:44.8171 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:44.9122 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727127_12683084_354908_2720467_74050_151_4396_2155858_11
20:05:44.9125 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:44.9127 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 0 events
20:05:44.9192 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:44.9951 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:55.7703 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727127_12683084_354908_2720467_74051_151_4396_2155858_11
20:05:55.7707 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:55.7709 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 0 events
20:05:55.7786 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:55.8602 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:58.2703 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727127_12683093_354910_2720469_74051_151_4396_2155858_11
20:05:58.2706 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:58.2709 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 0 events
20:05:58.2787 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:58.3642 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:59.1889 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727127_12683095_354911_2720469_74051_151_4396_2155858_11
20:05:59.1892 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED, new: 1
20:05:59.1894 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 1 events
20:05:59.1895 chatty-matrix-enc[25467]: TRACE: matrix_enc_handle_join_room_encrypted():1035: Got room encrypted. session exits: 0
20:05:59.1968 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_set_read_marker_async():1895
20:05:59.1975 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_set_read_marker_async():1911
20:05:59.1977 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:59.2738 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:59.3658 chatty-matrix-api[25467]: TRACE: matrix_take_red_pill_cb():749: sync success: 1, full-state: 0, next-batch: s1727128_12683096_354913_2720469_74051_151_4396_2155858_11
20:05:59.3661 chatty-ma-account[25467]: TRACE: matrix_parse_room_data():157: joined room: !REMOVED:postmarketos.org, new: 1
20:05:59.3663 chatty-ma-chat[25467]: TRACE: parse_chat_array():941: Got 0 events
20:05:59.3722 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_set_read_marker_async():1895
20:05:59.3730 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_set_read_marker_async():1911
20:05:59.3731 chatty-ma-account[25467]: TRACE: chatty_ma_account_save_async():1039: Saving @craftyguy:postmarketos.org, force: 0
20:05:59.4485 chatty-ma-account[25467]: TRACE: ma_account_db_save_cb():967: Saved @craftyguy:postmarketos.org, success: 1
20:05:59.9737 chatty-matrix-api[25467]: TRACE: ENTRY: api_set_read_marker_cb():391
20:05:59.9739 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_set_read_marker_finish():1919
20:05:59.9740 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_set_read_marker_finish():1925
20:05:59.9747 chatty-matrix-api[25467]: TRACE: EXIT: api_set_read_marker_cb():402
20:06:00.1377 chatty-matrix-api[25467]: TRACE: ENTRY: api_set_read_marker_cb():391
20:06:00.1380 chatty-matrix-api[25467]: TRACE: ENTRY: matrix_api_set_read_marker_finish():1919
20:06:00.1381 chatty-matrix-api[25467]: TRACE: EXIT: matrix_api_set_read_marker_finish():1925
20:06:00.1387 chatty-matrix-api[25467]: TRACE: EXIT: api_set_read_marker_cb():402