EionRobb / purple-instagram

Instagram protocol plugin for libpurple
GNU General Public License v3.0
39 stars 4 forks source link

improve incoming message synchronisation #5

Open realies opened 5 years ago

realies commented 5 years ago

it seems that incoming messages are delayed for significantly longer than when received via the original client and sometimes could take a while to resync missing messages when used via bitlbee

EionRobb commented 5 years ago

Yup, that's because we're polling for new messages rather than using the real-time MQTT stream

realies commented 5 years ago

is an MQTT implementation possible?

EionRobb commented 5 years ago

Given enough time, anything is possible 😛

What might work better is using a 3rd party library that does instagrams MQTT and hooking into that instead of writing something from scratch like this plugin does