Add online and federated properties to PurpleConversation
Review Request #2609 — Created Sept. 5, 2023 and submitted — Latest diff uploaded
This will allow user interfaces to more gracefully handle conversations with
disconnected accounts and offline conversations.
I didn't create a
purple_conversation_new_federatedas we don't have a
purple_conversation_newyet. I'm waiting on both of those until
PurpleConversationis a final type.
Compiled and ran the unit tests only. Writing unit tests for this right now would require a custom
PurpleProtocolas well as a custom
PurpleConnectionand maybe more. So I skipped for the time being as this is pretty straight forward.