On Tue, Nov 25, 2014, at 09:03 AM, Hans-Christoph Steiner wrote:
> I'm currently working on fixing the handling of SEND/Share Intents when
> ChatSecure is offline. The current behavior is to just show a blank,
> white
> screen. That obviously leaves a lot to be desired. Its easy to just
> throw an
> error in that case, but it would be great to let the user choose a
> contact to
> send to, then queue the message that will be sent next time ChatSecure is
> online. I can do this with Google Voice or TextSecure, for example.
>
> I vaguely remember something about queuing messages offline. Any
> pointers on
> where to look for that?
In XMPPConnection there is a postpone queue if the connection is not
connected and you try to send a message.
https://github.com/guardianproject/ChatSecureAndroid/blob/master/src/info/guardianproject/otr/app/im/plugin/xmpp/XmppConnection.java#L304
_______________________________________________
Guardian-dev mailing list
Post: [email protected]
List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
To Unsubscribe
Send email to: [email protected]
Or visit:
https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com
You are subscribed as: [email protected]