Kufat
f76341db1b
Merge 0cd8db8a55eb5197e12954a66b3739fedfa908b6 into 56e7bd01ca09ad52b0c4f48f146a20a4f1b78696
2023-08-07 20:53:24 +10:00
Wim
89b0d362d2
Remove gitter bridge ( #2035 )
...
See https://blog.gitter.im/2023/02/13/gitter-has-fully-migrated-to-matrix/
2023-04-05 23:39:15 +02:00
Joseph Mansy
574f25337d
Add nil check for group update (telegram) ( #2036 )
2023-04-05 23:08:03 +02:00
Joseph Mansy
5bbe422161
Support telegram chat Join/Leave updates ( #2019 )
...
Co-authored-by: Wim <wim@42.be>
2023-04-03 23:27:44 +02:00
Faye Duxovni
6500714a93
Don't treat nil as an unknown type of error (zulip) ( #2024 )
...
Fixes #1869
2023-04-03 23:27:00 +02:00
Thom Dickson
5feafcddba
Fix broken reply (telegram) ( #2026 )
...
Fixes #2021
* Fix broken reply
* Fix reply/quoting logic with topics
* Update handlers.go
---------
Co-authored-by: Wim <wim@42.be>
2023-04-03 23:20:53 +02:00
Joseph Mansy
839f384e45
Return a message ID when sending with a webhook (discord) ( #1976 )
...
Resolves #1975
2023-03-14 23:16:22 +01:00
Joseph Mansy
d42277979a
Support topic changes and Join/Leave messages (whatsapp) ( #2017 )
2023-03-14 23:12:45 +01:00
Thom Dickson
601f48a50e
Add support for Telegram topics (telegram) ( #1942 )
...
Topics are surfaced by appending /<topic-id> to the channel setting for the gateway.
An example for the topic with ID of 16 would be:
```
[[gateway.inout]]
account="telegram.mytelegram"
channel="-100xxxxxxxxxx/16"
```
2023-03-14 23:03:04 +01:00
Wim
c2b8e298d8
Add extra error checking for fileinfo (api) ( #2015 )
2023-03-11 23:10:41 +01:00
Asiel Díaz Benítez
0917e17383
Allow to send files in Extra via /api/message (api) ( #1993 )
2023-03-11 22:34:27 +01:00
Wim
8587fa8585
Fix possible panic in mattermost. (mattermost) Fixes #1947 ( #2014 )
2023-03-11 18:55:29 +01:00
Wim
f345eeae55
Set correct loglevel (whatsapp). Fixes #1980 ( #2013 )
2023-03-11 18:18:24 +01:00
Wim
89e2dbac15
Check client disconnect to exit for loop (api). Fixes #1983 ( #2012 )
...
Also update to latest melody upstream
2023-03-11 18:14:49 +01:00
Wim
356ada872c
Add handlers at the end. Fixes #1988 (discord) ( #2011 )
2023-03-11 17:55:11 +01:00
mvoolt
a3deb48726
Add support for Mumble servers with no message length limit ( #2008 )
...
* Rename .{jfif,jpe} to .jpg (mumble)
* Fix messages not sending in properly if no limit is set (mumble)
Co-authored-by: yellows111 <ice_ice@email.com>
* Formatting fix (mumble)
---------
Co-authored-by: yellows111 <ice_ice@email.com>
2023-03-10 22:57:35 +01:00
ilmaisin
544cd5cd9e
Fix Android media download problem (whatsapp) ( #2010 )
2023-03-10 22:30:48 +01:00
Joseph Mansy
2c349c50c7
Support handling delete message from whatsapp. ( #1986 )
2023-03-10 22:28:32 +01:00
Joseph Mansy
3a4bdd7c56
Fix rate-overlimit issue when there are more than 5 whatsapp channels in a single account (whatsapp) ( #1998 )
...
Resolves #1844
2023-03-09 22:10:09 +01:00
Joseph Mansy
768fb791c5
Use AuthorSignature as a fallback username (telegram) ( #1979 )
...
This comes in handy for annoucement type channels where neither the SenderChat or From structs contain name information.
Also Tweak username logic as when using a full name the username field can be " " instead of "".
2023-03-09 22:02:31 +01:00
Joseph Mansy
d00dcf3f58
Handle Whatsapp threading/replies (whatsapp) ( #1974 )
...
* Handle Whatsapp threading/replies.
In this change we are updating whatsapp message IDs to include sender JID as this is necessary to reply to a message
https://github.com/tulir/whatsmeow/issues/88#issuecomment-1093195237
https://github.com/tulir/whatsmeow/discussions/148#discussioncomment-3094325
Based on commit 6afa93e537c53b371db37f35a3546ff0fb669416 from #1934
Author: Iiro Laiho <iiro.laiho@iki.fi>
* Fix replies.
Sender JID can have a `:` inside of it, using `/` as a delimiter now.
Added messageID parser + struct.
messages sent with an attachment do not show replies
But at least common `sendMessage` will make repies from whatsapp to an attachement bridge across.
The new message ID format broke message deleting, so we change the messageID into the real id at the beginning of send.
We really do need the extra info for when we reply to a message though.
* Refactored message replies.
file/Image/audio/replies all work now.
2023-03-09 21:57:19 +01:00
Joseph Mansy
a9ccc18d73
Prefer mp4 extension for video attachments (whatsapp) ( #1971 )
...
resolves #1967
2023-03-09 21:49:38 +01:00
Joseph Mansy
ac681687f8
Handle messages with link preview not being relayed (whatsapp) ( #1970 )
...
Resolves #1840
2023-03-09 21:46:57 +01:00
Wim
d23f2560d5
Make the cgo lottie a build tag (-tag cgolottie) ( #1955 )
...
This should fix #1906 as we don't have any cgo dependencies anymore by
default.
2023-01-29 00:34:27 +01:00
Wim
880586bac4
Update dependencies ( #1951 )
2023-01-28 22:57:53 +01:00
Wim
eac2a8c8dc
Remove mattermost 5 support ( #1936 )
2023-01-28 21:57:06 +01:00
ilmaisin
4cf313c4c6
Fix the "Someone" nickname problem (whatsapp) ( #1931 )
...
* Apply patch to work around the "Someone" nickname problem
* Code cleanup (whatsapp)
* Cleanup
* Code cleanup (whatsapp)
* Re-examine if sender exists
* Cleanup (whatsapp)
2022-12-14 23:47:30 +01:00
ilmaisin
91353d0a4d
Handle incoming document captions from whatsapp ( #1935 )
2022-12-14 23:20:00 +01:00
ilmaisin
0a6d64ab48
Improve attachment handling (whatsapp) ( #1928 )
...
* Allow captions for document attachments, too
* Handle audio messages
* Improve attachment handling
2022-11-27 00:55:37 +01:00
Sebastian P
6da9d567dc
Implement sending of EventJoinLeave both to and from Mumble ( #1915 )
...
* mumble: Implement sending of EventJoinLeave both to and from Mumble (Closes #1435 )
* mumble: Break handleUserChange into two functions
2022-11-27 00:17:11 +01:00
Kufat
6d5a3dff22
Allow substitution of bot's nick in RunCommands (irc) ( #1890 )
...
* Allow substitution of bot's nick in RunCommands
* Tweak description of "{BOTNICK}"
Made the description of "{BOTNICK}" consistent with that of other keywords
2022-11-27 00:01:10 +01:00
Jair Sanchez
3ad5deaff1
Fix empty messages on IRC ( #1897 )
2022-11-26 23:53:48 +01:00
Alexander
9bbdf70e69
Fix telegram attachment comment formatting and escaping ( #1920 )
2022-11-26 23:50:46 +01:00
Kufat
0cd8db8a55
Fix isActive() call arg order
2022-09-06 07:37:25 -04:00
Kufat
47219a7393
Tweak logging for marking users active
2022-09-05 20:57:41 -04:00
Kufat
4737074374
Merge branch 'master' into enhance-irc-join-part
2022-09-05 20:37:31 -04:00
Kufat
edbf9c310b
Change activity to per-channel
2022-09-05 20:36:53 -04:00
Kufat
26bda54e16
Code review changes
2022-09-05 18:47:03 -04:00
Lucki
0c83946983
Add Matrix username spoofing ( #1875 )
...
* Matrix username spoofing
* Add config sample
2022-09-06 00:46:52 +02:00
Wim
2bbd216210
Merge branch 'master' into enhance-irc-join-part
2022-09-05 22:33:49 +02:00
Wim
fda05f2262
Update dependencies and fix whatsmeow API changes ( #1887 )
...
* Update dependencies
* Fix whatsmau API changes
2022-09-05 21:00:54 +02:00
Alexander
365acc36ea
Fix error messages in telegram and slack bridges ( #1862 )
...
* Fix message html entities escaping when sending to Telegram
* Fix error messages in telegram and slack bridges
Co-authored-by: Wim <wim@42.be>
2022-09-05 19:31:45 +02:00
Kufat
a6d5ea520c
Fix failure on empty quit
2022-08-09 17:02:10 -04:00
Kufat
5c82f187bc
Run gofumpt, remove unneeded 'else'
2022-08-08 18:07:17 -04:00
Kufat
b82b7b67a8
Switch to better solution for disabling URL embeds.
2022-08-08 13:00:06 -04:00
Kufat
e275bbfb2e
Add simple functionality to disable URLs in part/quit msgs
2022-08-08 10:39:35 -04:00
Kufat
37d3721c28
Use separate handleQuit() method
2022-08-06 19:43:30 -04:00
Kufat
21577ddf74
Add thread safety
2022-08-06 18:39:09 -04:00
Kufat
5a6d2abc23
Add documentation and periodic cleanup.
2022-08-06 18:01:28 -04:00
Kufat
a8d99c119e
Initial commit with enhanced IRC join/part info
2022-08-06 17:39:30 -04:00