michaelkourlas / voipms-sms-client

Popular Android messaging app for VoIP.ms, a Canadian VoIP provider
https://play.google.com/store/apps/details?id=net.kourlas.voipms_sms
Apache License 2.0
216 stars 51 forks source link

Messages taking a long time after I hit send #228

Closed kevingatera closed 3 years ago

kevingatera commented 3 years ago

Hello, in the past few versions, the messages are taking a long taking a long time from the time I hit send to the time they show up as in the thread with the tag "sending". There's like 2 or 3 seconds where I am not sure where the message disappeared to. Thanks.

Note: I just saw that there was a similar bug marked as resolved but this issue is still partially present in 0.6.18. Although the messages still take about 2-3 seconds. Is there a way to get instantaneous appearance in the thread while it's sending?

michaelkourlas commented 3 years ago

Duplicate of #227.

michaelkourlas commented 3 years ago

The messages are already added to the database immediately after you press "Send". The conversation is then refreshed right after. If there's a delay, it's probably a DB performance issue.

michaelkourlas commented 3 years ago

FWIW, messages appear instantaneously on my Pixel 2 XL.

EDIT: Unless I have a large database. Then I can reproduce this issue. Will keep investigating.