82 Commits

Author SHA1 Message Date
a4f4076351 Get access token if unset in config.json 2023-09-12 19:09:43 -06:00
1f5632e53c Fix typo 2023-09-07 04:14:12 -06:00
085ff7bf75 Ignore messages older than running script, add debug logging of event ID 2023-09-07 04:08:46 -06:00
5303dd24cd Ignore old message events to prevent sending duplicate texts 2023-09-07 04:01:49 -06:00
29d196e3c1 Ignore old message events to prevent sending duplicate texts 2023-09-07 03:59:19 -06:00
dce017b9e9 Hopefully fix 2023-09-05 22:16:44 -06:00
3caf8a6502 Use accessToken instead of password 2023-09-05 22:08:00 -06:00
5d3f6c226c Hopefully catch errors 2023-09-05 21:50:26 -06:00
b9326e51e4 Fix 2023-09-05 21:45:57 -06:00
ad7eb83c66 Some weird message makes it crash 2023-09-05 21:14:48 -06:00
dcc8f7a610 Fix some bugs, make Matrix SDK a little newer 2023-09-05 21:06:51 -06:00
37b10eaa7e Prevent sending messages that start with ! 2022-12-29 22:07:19 -07:00
794480cb7a Maybe fix multiple messages received at once displaying same content 2022-12-29 22:01:03 -07:00
f75ac91e06 Add a hint to the !fixusers response 2022-12-29 21:51:38 -07:00
88a7b12597 Detect and ignore extra whitespace in !sms command 2022-12-29 21:49:24 -07:00
3a767eb074 Update copyright year 2022-06-09 12:51:49 -06:00
d3b39da3c0 Add logging, remove console.log 2022-06-09 12:34:32 -06:00
eba11701cd Add !fixusers command to re-invite missing users to SMS chats 2022-06-09 12:32:25 -06:00
f32ee82029 Outgoing MMS and webhook both work now, finally 2022-02-03 19:38:32 -07:00
3ca8f75807 Send non-image messages with link 2022-02-03 18:47:59 -07:00
591ee41a9f Send non-image messages as link 2022-02-03 18:46:20 -07:00
509de17c6b Send non-image messages with link 2022-02-03 18:43:06 -07:00
ca5468f78f MMS: send images as MMS, send other types as link 2022-02-03 18:41:58 -07:00
b428f81a5e MMS: send images as MMS, send other types as link 2022-02-03 18:40:02 -07:00
6d06757e34 Set MMS body to URL of media in case media doesn't make it 2022-02-03 18:33:43 -07:00
2d5ac178ad Remove body on MMS 2022-02-03 18:28:15 -07:00
e4c4d1936b Avoid regex 2022-02-03 18:26:42 -07:00
4d00868681 Don't crash if HTTP error 2022-02-03 18:17:11 -07:00
be0b109736 Add outgoing MMS support 2022-02-03 18:10:21 -07:00
6129f3d311 Yup it started working. Could be cleaner but I don't know which bits fixed it so I'm leaving all of it. 2021-07-12 21:18:18 -06:00
9a9d01627d Tags are working now??? 2021-07-12 21:15:51 -06:00
3652aa6861 ? 2021-07-12 21:13:35 -06:00
a3edc31aff ? 2021-07-12 21:09:59 -06:00
dd3533d0a5 I wish this stuff was better documented 2021-07-12 21:08:04 -06:00
3b571873b8 asdf 2021-07-12 21:03:16 -06:00
2229eaada0 Was it just a typo all along??? 2021-07-12 20:31:16 -06:00
5d0fced77a ? 2021-07-12 20:30:00 -06:00
4191fe2c13 Start fixing room already in use error 2021-07-12 20:24:22 -06:00
e4edeb0b95 Still broken but not as badly 2021-07-12 20:15:47 -06:00
b9fd279b9a ??? 2021-07-12 19:51:29 -06:00
32d411c8b2 Ugh this better work, for some reason tags aren't sticking 2021-07-12 19:49:04 -06:00
20cdc13c6c Move stuff around to hopefully really fix "couldn't determine correct number to send SMS from" 2021-07-12 19:35:10 -06:00
b7bd44ee57 Ugh 2021-07-10 20:24:00 -06:00
5c0b72a2d0 Hopefully fix error 2021-07-10 20:22:55 -06:00
e858c97719 Fix power levels 2021-07-10 20:11:57 -06:00
8be44e2115 More permissions stuff 2021-07-10 20:06:27 -06:00
b73826a0a8 More permissions stuff 2021-07-10 20:06:04 -06:00
53b877f001 Permissions stuff 2021-07-10 19:51:26 -06:00
ee653393cf Missing return 2021-07-10 19:43:27 -06:00
51186172c0 Set permissions for invited users to allow changing visible room name, inviting others, etc. 2021-07-10 19:40:50 -06:00