Vitor Pamplona on Nostr: Tricky part is that if you hit send and close the app immediately, the websockets ...
Tricky part is that if you hit send and close the app immediately, the websockets connections close and the message never goes out. It would wait for connection to come back to finally send. Gotta find a way around disabling websockets when the app pauses.
Published at
2023-02-18 16:58:48Event JSON
{
"id": "135fbc37263b516318a539637258f612ffe433b34471a553d8ab7117d3a0c5b2",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1676739528,
"kind": 1,
"tags": [
[
"e",
"c9529c0356acc9effe32129c37e421b6ec67eda6a643a82bbedd44a9ef7b6d20"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"8c0da4862130283ff9e67d889df264177a508974e2feb96de139804ea66d6168"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
],
[
"p",
"645681b9d067b1a362c4bee8ddff987d2466d49905c26cb8fec5e6fb73af5c84"
],
[
"p",
"597b42de56a9e0c19ee2d0cde5797dd58d48ce8dd25c732b4c873af11161f9fd"
],
[
"p",
"54c3fcc30704738f2f5741d4eb38e1f69a269e16150d83c3e24cbe622fa89cef"
]
],
"content": "Tricky part is that if you hit send and close the app immediately, the websockets connections close and the message never goes out. It would wait for connection to come back to finally send. Gotta find a way around disabling websockets when the app pauses. ",
"sig": "86a414920ac2942a81f04f659e509a7e8e291981f4812e0cc1f5cb09d16ffa3f7ca2de72ce761657bccd1164c94a58c591eafb36548692dc73adfbbc77dd92d6"
}