Properly process outgoing message queue
Properly process outgoing message queue

It's a queue, not a stack 🤦

Furthermore, modifying the array while iterating over it might be
problematic.

threema-ch/threema-web,threema-ch/threema-web,threema-ch/threema-web,threema-ch/threema-web,threema-ch/threema-web