sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

Breaks push notifications #131

Closed rcx closed 6 years ago

rcx commented 6 years ago

I have been using bitlbee-discord for quite some time now and I'm very satisfied with the software. However, it seems that discord treats the bitlbee client like a desktop client, and as a result, it thinks I'm constantly active on desktop. This causes it to not send mobile push notifications, which is a big inconvenience. Is there any workaround for this? There seems to be a way to decrease "Push notification AFK timeout" in the Discord settings, but no way to disable it.

dgw commented 6 years ago

Have you tried turning send_acks off? By default, bitlbee-discord acknowledges every message received, which probably resets the AFK timeout.

sm00th commented 6 years ago

I have now idea how discord handles AFK status, but it is very likely that acks are the culprit, so you should try disabling send_acks. The only problem is once you disable it - it wont send any acks anymore, which will result in having to mark them read from another client.

rcx commented 6 years ago

I tried turning off send_acks but it didn't seem to help. I had to sign out of discord on bitlbee to receive push notifications.

rcx commented 6 years ago

Maybe requires afk: true in status update?

sm00th commented 6 years ago

As discussed in #158 added an always_afk option in 870ead9. I don't really use the mobile client so if you could check if it helps this issue that would be awesome.

rcx commented 6 years ago

Hooray it works, at least with send_acks off. I will now test it with send_acks on.

rcx commented 6 years ago

Doesn't work with send_acks on. So, in summary, to fix push notifications you must: