[guardian-dev] queue a message in ChatSecure when all accounts are offline?

Nathan of Guardian nathan at guardianproject.info
Wed Nov 26 11:15:13 EST 2014


On Wed, Nov 26, 2014, at 10:46 AM, Hans-Christoph Steiner wrote:
> Is there a pre-OTR message queue?

Hmm, well, I do know in the database schema there is a way to mark
messages as not sent, but I am not sure I know exactly where the logic
is to check for unsent messages, and send them, say at the
ImConnectionAdapter layer.

> So I have already addressed some of the blank white screen scenarios, now
> I'd
> love to be able to queue up some content to be transfered once an OTR
> session
> is established.  It seems to me that using something like
> XmppChatSessionManager.sendMessageAsync() to queue a message (or lower
> level)
> will guarantee that the message is never OTR encrypted.

Right. Specifying that a message must be OTR encrypted is tricky, as we
usually just handle that as a global preference (force, auto, as
requested OTR etc)

I understand the user experience you are seeking, and I definitely want
it myself. Being able to just send off a message or share a file without
worrying about connectivity state and knowing it will get there is
critical for our next level of usability.

+n


More information about the Guardian-dev mailing list