XSF Discussion - 2018-12-17


  1. oli has left

  2. oli has joined

  3. thorsten has left

  4. thorsten has joined

  5. Arc has joined

  6. l has joined

  7. lskdjf has joined

  8. lnj has left

  9. UsL has left

  10. UsL has joined

  11. Zash has left

  12. oli has left

  13. oli has joined

  14. efrit has left

  15. oli has joined

  16. oli has joined

  17. marc has joined

  18. mrdoctorwho has joined

  19. oli has left

  20. oli has joined

  21. thorsten has left

  22. thorsten has joined

  23. Arc has left

  24. oli has left

  25. oli has joined

  26. Zash has joined

  27. alacer has joined

  28. alacer has left

  29. alacer has joined

  30. alacer has left

  31. alacer has joined

  32. alacer has left

  33. alacer has joined

  34. alacer has left

  35. mimi89999 has left

  36. oli has joined

  37. igoose has left

  38. igoose has joined

  39. Nekit has joined

  40. igoose has left

  41. igoose has joined

  42. krauq has left

  43. dos has left

  44. Tobias has joined

  45. thorsten has joined

  46. Yagiza has joined

  47. l has joined

  48. lovetox has joined

  49. dos has left

  50. Yagiza has left

  51. Yagiza has joined

  52. ThibG has left

  53. ThibG has joined

  54. labdsf has left

  55. l has joined

  56. marc has left

  57. marc has joined

  58. Nekit has left

  59. Nekit has joined

  60. goffi has joined

  61. andy has joined

  62. oli has joined

  63. waqas has left

  64. sezuan has left

  65. Seve has joined

  66. lnj has joined

  67. oli has joined

  68. oli has joined

  69. Maranda has left

  70. oli has left

  71. oli has joined

  72. Maranda has left

  73. l has left

  74. l has joined

  75. oli has left

  76. oli has joined

  77. marc has left

  78. marc has joined

  79. vaulor has left

  80. jjrh has left

  81. rion has left

  82. Steve Kille has left

  83. rion has left

  84. ta has left

  85. Steve Kille has joined

  86. lnj has left

  87. rion has joined

  88. tux has left

  89. tux has joined

  90. sezuan has left

  91. MattJ has joined

  92. sezuan has left

  93. Zash has left

  94. Zash has joined

  95. genofire has left

  96. genofire has left

  97. genofire has left

  98. genofire has left

  99. !xsf_martin has joined

  100. genofire has left

  101. genofire has left

  102. genofire has left

  103. genofire has left

  104. genofire has left

  105. genofire has left

  106. tux has joined

  107. genofire has left

  108. genofire has left

  109. genofire has left

  110. genofire has left

  111. genofire has left

  112. !xsf_martin has left

  113. !xsf_martin has joined

  114. genofire has left

  115. genofire has left

  116. genofire has left

  117. genofire has left

  118. ThibG has joined

  119. genofire has left

  120. genofire has left

  121. genofire has left

  122. genofire has left

  123. efrit has joined

  124. genofire has left

  125. genofire has left

  126. genofire has left

  127. genofire has left

  128. genofire has left

  129. genofire has left

  130. genofire has left

  131. genofire has left

  132. genofire has left

  133. genofire has left

  134. genofire has left

  135. genofire has left

  136. genofire has left

  137. genofire has left

  138. Maranda has joined

  139. genofire has left

  140. genofire has left

  141. genofire has left

  142. genofire has left

  143. genofire has left

  144. mrdoctorwho has left

  145. mrdoctorwho has joined

  146. genofire has left

  147. lorddavidiii has left

  148. genofire has left

  149. moparisthebest has joined

  150. moparisthebest has joined

  151. genofire has left

  152. genofire has left

  153. labdsf has joined

  154. genofire has left

  155. genofire has left

  156. genofire has left

  157. genofire has left

  158. genofire has left

  159. genofire has left

  160. genofire has left

  161. genofire has left

  162. genofire has left

  163. genofire has left

  164. genofire has left

  165. genofire has left

  166. genofire has left

  167. genofire has left

  168. genofire has left

  169. genofire has left

  170. genofire has left

  171. genofire has left

  172. genofire has left

  173. l has joined

  174. l has joined

  175. l has joined

  176. l has joined

  177. nyco has left

  178. moparisthebest has joined

  179. moparisthebest has joined

  180. thorsten has joined

  181. genofire has left

  182. genofire has left

  183. genofire has left

  184. oli has joined

  185. genofire has left

  186. Alex has joined

  187. Alex has left

  188. genofire has left

  189. Alex has joined

  190. lorddavidiii has joined

  191. genofire has left

  192. genofire has left

  193. genofire has left

  194. genofire has left

  195. genofire has left

  196. genofire has left

  197. genofire has left

  198. genofire has left

  199. genofire has left

  200. Holger

    Kev: A while back we were discussing silent APNS notifications, I think I promised to look up the docs on their unreliability. FWIW I now stumbled over them again: > APNs sends a limited number of silent notifications---notifications with the content-available key---per day. In addition, if the device has already exceeded its power budget for the day, silent notifications are not sent again until the power budget resets, which happens once a day. https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

  201. Holger

    Also the description of the `apns-priority` field, and this: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_updates_to_your_app_silently

  202. genofire has left

  203. Holger

    (But either way Daniel's suggestion to use this would probably do the trick on recent iOS versions: <https://developer.apple.com/documentation/usernotifications/modifying_content_in_newly_delivered_notifications>)

  204. genofire has left

  205. Zash has left

  206. genofire has left

  207. moparisthebest has joined

  208. moparisthebest has joined

  209. igoose has left

  210. igoose has joined

  211. frainz has left

  212. frainz has joined

  213. Ge0rG

    Holger: how does that relate to the proposal of sending stripped down stanzas to the push server (only XML meta-data)

  214. Holger

    Ge0rG: As you probably know, Chris' solution is to use high-prio notifications which don't wake the app but generate a lock-screen notification instead (and pressing that wakes the app). So he was interested in getting more info regarding the stanza that triggered the notification, in order to not generate lock screen notifications for stanzas without message body.

  215. Ge0rG

    Holger: I think that Anu is also working on content-modifications.

  216. Ge0rG

    Holger: yeah, but the high-prio vs. low prio thing somehow escalated

  217. Ge0rG

    and then it was buried for half a year and nobody remembers any more what the best solution was

  218. Holger

    With escalation you mean my stripped-down-stanza suggestion? :-) Chris' solution was/is basically to have the XMPP server distinguish between high/low prio, while I thought we might want to be more flexible in the future, i.e. for Jingle calls, MUC invitations, or whatever.

  219. Holger

    But if that content-modification thing does the trick, maybe we can forget about all that and get away with silent notifications after all. At least to get iOS working.

  220. Holger

    "Content modification" also allows omitting/removing the lock-screen notification altogether?

  221. Ge0rG

    Holger: I don't know about the last point

  222. Holger

    Ge0rG: BTW I don't quite understand the story with Monal. I thought it has that VoIP flag which would allow for silent high-prio notifications.

  223. Holger

    Apparently it either doesn't use those or they aren't reliable either. Not sure how the VoIP flag helps then.

  224. Ge0rG

    Holger: the latest Monal beta is working fine on yax.im, but apparently not on other servers.

  225. Ge0rG

    Holger: not sure which kind of notifications it's using

  226. Holger

    Hmm.

  227. Ge0rG

    the whole thing is super complex, as other XEP implementations also play a role (CSI especially)

  228. Holger

    Yeah, I'm into *that* part of the complexity, but I'm clueless what happens once the notification reaches push.monal.im :-)

  229. Anu has joined

  230. Ge0rG just summoned the Monal developer. Hi Anu!

  231. Anu

    Hi

  232. Anu

    What questions can I answer?

  233. l has joined

  234. Ge0rG has left

  235. Holger

    Anu: Hah, ignore my 1:1 messages then.

  236. Anu

    Hahah

  237. Ge0rG

    The first question was whether you can delete / merge newly-delivered-notification, to which the answer was "yes"

  238. Anu

    Yes

  239. Ge0rG

    Anu: what kind of information do you need on the push server to determine whether to send a low-prio / high-prio / no push message?

  240. Anu

    Holger: Sorry I’m just waking up over here

  241. Holger

    Anu: There's no hurry :-)

  242. Holger

    Anu: A while back you said that the APNS notifications you're using won't (necessarily?) wake Monal if it was swiped away.

  243. ta has left

  244. Holger

    Anu: But doesn't Monal have this VoIP flag which would allow for silent high-prio notifications?

  245. Anu

    The push channel on monal at least just a signal and is silent (on or off) the actual logic happens entirely in xmpp. The push is not the notification, the notification is generated by the client manually not the server. This is why I can look at older messages and modify

  246. Holger

    Right.

  247. l has joined

  248. Anu

    It only gets silent high priority notifications that resume/launch the app

  249. Ge0rG

    Anu: I thought you can't have silent *and* high-prio in the same notification

  250. Anu

    Swiping away will launch monal but in circumstances where the device is locked, it is not able to unlock the encrypted keychain

  251. Holger

    That's the idea of using 'silent' APNS notifications, right? I understand that they're usually throtteld by Apple. But I thought they're reliable for VoIP apps. Nevertheless they don't seem to be reliable for Monal?

  252. Holger

    Ah.

  253. Anu

    Monal is a special case blessed by Apple :)

  254. Ge0rG

    Anu: if Monal wasn't a VoIP blessed app, how would you work around that?

  255. Ge0rG

    We need XEP-0357 to also work for the non-VoIP use case

  256. Anu

    If it weren’t the then the notification could still be silent but notifications will fail when the app is closed and in those cases the notification text should be generated by the server in a second notification

  257. Anu

    So either the message body comes in the notification’s payload

  258. Ge0rG

    Anu: by the XMPP server or by the push server?

  259. Anu

    Yes

  260. Anu

    But since the whole design is the push server shouldn’t see the text

  261. Ge0rG

    Anu: sending the message body over third-party channels is a security violation

  262. Anu

    Yes

  263. Ge0rG

    so you'd have to send something like "You received a message"

  264. Ge0rG

    `push_notification_important_body = "Important message";`

  265. Anu

    So the xmpp server would need to see if the message was fetched after x amount of time

  266. Anu

    If not send a second non silent push message saying “you have a messag”

  267. genofire has left

  268. Ge0rG

    Anu: shouldn't the push server figure that out?

  269. Ge0rG

    i.e. XMPP server sends a message skeleton to push.monal.im, the push service attempts a silent notification and if that fails re-attempts with a "loud" one, if there was an actual message

  270. genofire has left

  271. Anu

    Push server is largely one way

  272. Ge0rG

    I'd rather not encode retry timing into the XMPP server

  273. genofire has left

  274. Anu

    Failure does come on the apns feedback channel but that means the token is likely invalid

  275. genofire has left

  276. Anu

    Apple is paranoid and rotates then

  277. genofire has left

  278. Ge0rG

    Anu: so there is no feedback about whether the app actually was notified?

  279. genofire has left

  280. Ge0rG

    Anu: it would be great to collect some numbers on how well silent vs. non-silent notifications work and what the delays are in practice

  281. genofire has left

  282. genofire has left

  283. genofire has left

  284. Holger

    I think from user feedback it's obvious that silent notifications alone won't do the trick.

  285. Anu

    I don’t think so, they update it every year so I can take a look

  286. Anu

    Brb baby duties. Will be back in 30 min

  287. genofire has left

  288. genofire has left

  289. Holger

    As I said above I was hoping that this thing might do the trick (for iOS >= 10): https://developer.apple.com/documentation/usernotifications/modifying_content_in_newly_delivered_notifications

  290. genofire has left

  291. Holger

    At least if it also allows for removing the lock-screen notification altogether.

  292. genofire has left

  293. genofire has left

  294. genofire has left

  295. ThibG has left

  296. ThibG has joined

  297. genofire has left

  298. genofire has left

  299. genofire has left

  300. Anu

    Yeah an extension is just launching the app

  301. genofire has left

  302. Anu

    Yeah an extension is just launching the app

  303. genofire has left

  304. genofire has left

  305. genofire has left

  306. moparisthebest has joined

  307. genofire has left

  308. genofire has left

  309. genofire has left

  310. lnj has joined

  311. genofire has left

  312. Alex has left

  313. genofire has left

  314. genofire has left

  315. genofire has left

  316. lskdjf has joined

  317. genofire has left

  318. genofire has left

  319. genofire has left

  320. genofire has left

  321. genofire has left

  322. genofire has left

  323. l has left

  324. genofire has left

  325. genofire has left

  326. genofire has left

  327. genofire has left

  328. andy has joined

  329. genofire has left

  330. genofire has left

  331. genofire has left

  332. genofire has left

  333. Anu

    The extension would be a new app

  334. Anu has left

  335. Anu has joined

  336. Anu

    Sorry back

  337. Anu

    Baby

  338. genofire has left

  339. Anu

    Technically the extension is th opposite of monal but should work and have a similar effect.

  340. Anu

    I am adding logic for where it can’t download

  341. genofire has left

  342. Anu

    The only issue is that like most of the world things are http focused.

  343. Anu

    In the case of xmpp, the extension would be a new app that opens a new connection (and resource)

  344. genofire has left

  345. Anu

    I have a share extension and wen through some fun hoops to hide that

  346. genofire has left

  347. genofire has left

  348. genofire has left

  349. Anu

    I’m very interested in more feedback on pushes on monal, I have never had any fail. If notifications don’t show up it’s usually the case that the push arrives but monal does not download a message

  350. genofire has left

  351. genofire has left

  352. genofire has left

  353. genofire has left

  354. genofire has left

  355. Ge0rG

    Anu: or Monal can't resume the session for some reasons.

  356. genofire has left

  357. Anu

    On jabb3r, yeah I’ve noticed this too but on yax it has

  358. genofire has left

  359. Anu

    Thus the muc experience

  360. genofire has left

  361. Ge0rG

    Anu: were you able to pinpoint why it fails?

  362. Anu

    No, the actual

  363. genofire has left

  364. Anu

    Interaction is identical

  365. Anu

    It tries to resume and then receives an error

  366. Anu

    I thought it was monal too but the past week of testing muc with yax

  367. Anu

    It seems not to be the case

  368. genofire has left

  369. genofire has left

  370. genofire has left

  371. Anu

    Now that I know it’s not client side, will good to actually debug on jabb3r now

  372. genofire has left

  373. Anu

    Georg: as you know from your iOS device, notifications come in ( in excess) :)

  374. alacer has joined

  375. genofire has left

  376. genofire has left

  377. genofire has left

  378. Ge0rG

    Anu: maybe Monal fails to resume within the 5 minutes timeout on jabb3r.org? I've got 30 minutes on yaxi

  379. Ge0rG

    Anu: maybe Monal fails to resume within the 5 minutes timeout on jabb3r.org? I've got 30 minutes on yax.im

  380. genofire has left

  381. genofire has left

  382. Anu

    With push the stream is supposed to never expire isn’t it?

  383. genofire has left

  384. l has joined

  385. jonas’

    I don’t think that’s true

  386. jonas’

    that’s an implementation detail of some implementations (ejabberd)

  387. genofire has left

  388. jonas’

    it gives you a certain time until after the first push to connect

  389. genofire has left

  390. Anu

    Ah

  391. Holger

    I *think* Prosody's mod_cloud_notify has a similar hack, but of course not all servers will have that enabled. (And either way there's still *some* timeout, just a longer one.)

  392. genofire has left

  393. genofire has left

  394. genofire has left

  395. genofire has left

  396. Nekit has left

  397. Nekit has joined

  398. Holger has left

  399. genofire has left

  400. genofire has left

  401. genofire has left

  402. genofire has left

  403. genofire has left

  404. genofire has left

  405. genofire has left

  406. genofire has left

  407. genofire has left

  408. genofire has left

  409. genofire has left

  410. genofire has left

  411. genofire has left

  412. genofire has left

  413. genofire has left

  414. genofire has left

  415. genofire has left

  416. genofire has left

  417. genofire has left

  418. genofire has left

  419. genofire has left

  420. genofire has left

  421. genofire has left

  422. genofire has left

  423. genofire has left

  424. genofire has left

  425. genofire has left

  426. genofire has left

  427. genofire has left

  428. genofire has left

  429. genofire has left

  430. genofire has left

  431. genofire has left

  432. Anu

    Man push notifications are a pain

  433. genofire has left

  434. moparisthebest has joined

  435. genofire has left

  436. Holger

    They are.

  437. Holger

    But why is the session thing so essential? I thought Monal supports MAM?

  438. Anu

    It’s really not that bad for other protocols

  439. moparisthebest has joined

  440. Holger

    It's also not that bad on Android ;-) Because silent notifications 'just work'.

  441. genofire has left

  442. Anu

    The diversity of configs and server software makes it really hard to deliver to consistent experience

  443. lnj has left

  444. lnj has joined

  445. Anu

    Android isn’t really a privacy focused os though

  446. Anu

    So there’s a lot more wiggle room (and rope to hang with )

  447. genofire has left

  448. Holger

    True. My point is just that I think the biggest pain here is the unreliable silent notifications.

  449. Holger

    Whatever.

  450. Anu

    Yeah

  451. genofire has left

  452. Anu

    I think the notifications are working

  453. Holger

    If resumption fails, won't you receive the message from MAM?

  454. Anu

    The issue is client side

  455. Anu

    Yes

  456. genofire has left

  457. Anu

    I don’t show notifications for mam messages

  458. Holger

    Ah, why not?

  459. genofire has left

  460. genofire has left

  461. Holger

    I would do that. You can't safely assume the message has been seen elsewhere just because you got it from MAM.

  462. genofire has left

  463. Anu

    It was generating excessive notifications

  464. genofire has left

  465. Holger

    So then you'd not have to worry about session timeouts, the experience will be the same either way. I think 0198 should just be seen as an optional optimization.

  466. Holger

    Hmmmm.

  467. Anu

    Yeah if the resume fails it just connects like normal

  468. genofire has left

  469. Anu

    Why I am puzzled by people not getting notifications

  470. Anu

    Apns is officially best effort

  471. genofire has left

  472. Anu

    But in about 8 years or working with it I have never seen a notification fail to deliver

  473. Anu

    I’ve seen delays

  474. genofire has left

  475. Anu

    But that’s usually cell network issue

  476. genofire has left

  477. Holger

    I think the APNS throttling tries to be magic in that it depends on various factors such as the app usage, the battery, and whatnot?

  478. Holger

    So I guess it might be normal that experience differs?

  479. genofire has left

  480. genofire has left

  481. Holger

    With haven't tested Monal too much (my test iPad somehow doesn't like it) but with ChatSecure I had missing notifications all day long until Chris switched to high-prio notifications (which work reliably indeed).

  482. Holger

    s/With/I/

  483. genofire has left

  484. genofire has left

  485. genofire has left

  486. Andrew Nenakhov has joined

  487. genofire has left

  488. 404.city has joined

  489. genofire has left

  490. genofire has left

  491. genofire has left

  492. genofire has left

  493. genofire has left

  494. genofire has left

  495. genofire has left

  496. pep. has left

  497. genofire has left

  498. genofire has left

  499. genofire has left

  500. genofire has left

  501. lorddavidiii has left

  502. genofire has left

  503. genofire has left

  504. genofire has left

  505. genofire has left

  506. Andrew Nenakhov has left

  507. genofire has left

  508. genofire has left

  509. genofire has left

  510. genofire has left

  511. genofire has left

  512. genofire has left

  513. Alex has joined

  514. genofire has left

  515. genofire has left

  516. genofire has left

  517. genofire has left

  518. genofire has left

  519. Nekit has left

  520. Nekit has joined

  521. lskdjf has joined

  522. Ge0rG

    Holger [14:30]: > If resumption fails, won't you receive the message from MAM? Except that failing resumption does the weirdest things to the messages in the SM queue.

  523. lskdjf has joined

  524. alacer has left

  525. Holger

    Maybe, but that won't explain missing notifications/messages.

  526. Holger

    I mean, Monal not notifying on MAM messages would explain it I guess :-)

  527. Ge0rG

    The right thing is to de-duplicate between local history, MAM and offline messages, and to notify on *new* ones

  528. lnj has left

  529. Ge0rG

    Except... you need to delay until you processed everything because you might have answered some of those from another device

  530. Ge0rG

    And this is where you need a Ph.D. to write a simple XMPP client.

  531. Holger

    The latter behavior would be nice to have (where 'answers' could include chat markers/whatever), but that's kinda optional I think.

  532. Holger

    I think for the moment it would be good enough to (1) deduplicate using the stanza ID (no Ph.D. required) and (2) notify on all messages (MAM or live).

  533. Holger

    Not sure how notifications on MAM messages generate a flood? Maybe a full query of a large MAM archive for the first time or something?

  534. Ge0rG

    Holger: (1) only works on private messages from clients that generate unique IDs; (2) ITYM "notify on *new* messages (MAM or live)"

  535. Ge0rG

    Holger: if you notify on each message, you'll end up flooded

  536. Holger

    I mean the server's stanza ID?

  537. Ge0rG

    Ah, so you mean the stanza ID and not the stanza ID. Yes.

  538. Holger

    Of course.

  539. Ge0rG

    Sorry for my misunderstanding.

  540. Holger

    I.e. depend on mam:2 for deduplication (unless you have a Ph.D. and too much time).

  541. Ge0rG

    So how do you deduplicate *sent* messages based on stanza ID?

  542. Holger

    Okay, (1) dedup incoming, (2) make your damn Ph.D., (3) dedup outgoing.

  543. Ge0rG

    Some days ago, I received multiple copies of the same message from an IRC transport, and the copies (routed to different of my resources, of which one was offline) had different message IDs.

  544. Ge0rG

    Also different stanza IDs

  545. Ge0rG

    There should be a XEP describing how to dedup

  546. Holger

    I'd use one of the other IDs for outgoing. But yes that's not nice.

  547. genofire has left

  548. genofire has left

  549. genofire has left

  550. genofire has left

  551. genofire has left

  552. genofire has left

  553. genofire has left

  554. Ge0rG has left

  555. genofire has left

  556. genofire has left

  557. genofire has left

  558. genofire has left

  559. genofire has left

  560. genofire has left

  561. genofire has left

  562. genofire has left

  563. genofire has left

  564. genofire has left

  565. genofire has left

  566. genofire has left

  567. genofire has left

  568. genofire has left

  569. genofire has left

  570. genofire has left

  571. moparisthebest has left

  572. moparisthebest has joined

  573. genofire has left

  574. genofire has left

  575. genofire has left

  576. genofire has left

  577. genofire has left

  578. genofire has left

  579. genofire has left

  580. genofire has left

  581. genofire has left

  582. genofire has left

  583. Zash has left

  584. genofire has left

  585. genofire has left

  586. genofire has left

  587. genofire has left

  588. genofire has left

  589. genofire has left

  590. genofire has left

  591. genofire has left

  592. genofire has left

  593. genofire has left

  594. genofire has left

  595. genofire has left

  596. genofire has left

  597. genofire has left

  598. genofire has left

  599. genofire has left

  600. genofire has left

  601. genofire has left

  602. genofire has left

  603. genofire has left

  604. marc has left

  605. Marc Laporte has joined

  606. Anu

    A reminder that xmpp is a brutally complicated protocol. :)

  607. Anu

    Super powerful but often conflicting

  608. Ge0rG

    This is so sad.

  609. genofire has left

  610. Zash

    Emergent complexity!

  611. UsL has left

  612. Ge0rG

    Emergency.

  613. genofire has left

  614. genofire has left

  615. UsL has joined

  616. genofire has left

  617. Zash has left

  618. genofire has left

  619. genofire has left

  620. genofire has left

  621. genofire has left

  622. genofire has left

  623. Tim has joined

  624. Anu

    So on other protocols we’ve esp for mobile we’ve ditched the idea of being offline. Things are down based on devices registered

  625. Anu

    Deduping on a guid associated with every message

  626. Ge0rG

    Anu: yeah, that's a great approach but XMPP isn't there yet

  627. genofire has left

  628. genofire has left

  629. Anu

    I just discovered how to query mam archives in reverse chronological order

  630. andy has left

  631. Anu

    Thanks Georg

  632. Anu

    That will probably help too

  633. Ge0rG

    Anu: I'm not sure it's a good idea to query them in reverse

  634. Anu

    Ux

  635. Ge0rG

    Anu: some messages contain back-references, like LMC

  636. Anu

    You want to see newest first and the pull the older ones later

  637. genofire has left

  638. Anu

    Lmc?

  639. Ge0rG

    Anu: so now you need to cache the newer message that references an old one until the old one has arrived. https://xmpp.org/extensions/xep-0308.html Last Message Correction

  640. genofire has left

  641. Anu

    Oh fun

  642. Anu

    The problem with my current mam

  643. Ge0rG

    Anu: okay, pulling in the last 50 in linear order won't save you from that

  644. genofire has left

  645. Anu

    Is 90 percent of hemtime I use my phone

  646. Anu

    When I go to my iPad or laptop it starters to get every message since I last used it

  647. Holger

    Ge0rG: It's not mandatory to support LMC though.

  648. genofire has left

  649. Ge0rG

    Holger: nothing is mandatory. What's your point?

  650. Ge0rG

    BTW, LMC would be a good addition to cs-2019, cc jonas’

  651. Anu

    And what I really care about is most recent, I can pull down to get more if I need more

  652. genofire has left

  653. Holger

    Ge0rG: My point is I would not let my MAM retrieval strategy depend on XEP-0308.

  654. genofire has left

  655. Holger

    If the original message isn't within the chunk I got from MAM, so be it. If the user scrolls up, he'll receive it. Probably. The server might've ditched it already anyway.

  656. Ge0rG

    Anu: then you need to mark a message with an LMC for something that you haven't fetched yet and merge them when the user pulls down

  657. Anu

    Yeah

  658. genofire has left

  659. Ge0rG

    LMC is just one example of message references.

  660. Anu

    Basically some tie breaker logic

  661. Holger

    And my point would probably remain the same for any other examples.

  662. genofire has left

  663. Holger

    There's no guarantee you get the original message anyway.

  664. Ge0rG

    No guarantee, no.

  665. genofire has left

  666. Holger

    So don't make XMPP life even complicater than it is anyway.

  667. Anu

    Yeah it’s based on age and archiving preferences

  668. Ge0rG

    said the server developer.

  669. genofire has left

  670. genofire has left

  671. Anu

    Holger: quick question, monal works on the iPad 2 up

  672. Anu

    Basically every iPad but the original

  673. Anu

    What do you have? It should work for you

  674. genofire has left

  675. Holger

    Anu: I can no longer reproduce the crashes. It seemed like it was triggered by some MAM message which is no longer retrieved (not sure why, I'll have to look).

  676. Anu

    There were a few ui glitches recently but I’ve been fixing those

  677. genofire has left

  678. Anu

    Also I’ve fixed a lot of crashes

  679. Holger

    Ah yes I did update recently, maybe it was due to your fixes.

  680. Anu

    I fix them as soon as they come in to crashlytics and put our an update the same day

  681. genofire has left

  682. Anu

    When I am working on it there is a release nightly for betas and weekly for prod

  683. genofire has left

  684. Holger

    Very cool.

  685. Holger

    I'll have to look into the MAM thing but other than that I'm happy :-) Unfortunately I can also reproduce missing push notifications though---even with normal live messages.

  686. Anu

    2 week sprints, crashlytics is my feedback loop

  687. genofire has left

  688. Anu

    Any particular server?

  689. Holger

    Now that it's no longer crashing, I'll be much better with looking at the traffic and things.

  690. Holger

    I'm using conversations.im for testing.

  691. genofire has left

  692. Anu

    I realize all the servers I’ve tested with have been prosody, made a balbber.im account to test with ejabberd

  693. genofire has left

  694. Anu

    On the betas there is a log at the bottom of settings, it’s the devices console

  695. Anu

    So it prints out the full stream and all errors there

  696. genofire has left

  697. genofire has left

  698. Anu

    New release coming out today btw

  699. Holger

    Right now I'm using the release, I'd be happy to switch to the betas.

  700. genofire has left

  701. Anu

    I added muting becuae the notifications are a little too good esp with muc

  702. Holger

    Heh.

  703. Anu

    Switch to the betas on my website

  704. Anu

    Better if you are a developer

  705. Ge0rG

    Anu: I suggest two things: - collect all new messages per JID/MUC until sync is completed - don't make notifications if you see recent activity from another device

  706. genofire has left

  707. Anu

    https://testflight.apple.com/join/RjIlyvqa

  708. genofire has left

  709. Anu

    Hmm

  710. Anu

    Might be the right approach

  711. genofire has left

  712. genofire has left

  713. Holger

    Anu: Installed, thanks.

  714. genofire has left

  715. genofire has left

  716. Anu

    If messsges fail to arrive take a look at the log, it’s pretty raw but you can see every stanza sent and receives

  717. genofire has left

  718. Anu

    If you see anything wrong let me know I can usually have a fix up in a few hours

  719. Holger

    Yes that's very useful.

  720. Holger

    Awesome to see you being so active.

  721. genofire has left

  722. marc has joined

  723. waqas has joined

  724. genofire has left

  725. genofire has left

  726. Tim has left

  727. genofire has left

  728. genofire has left

  729. genofire has left

  730. Anu

    The more feedback the better, I can’t really test everything myself so it’s great when others let me know when they see bugs :)

  731. Ge0rG

    Anu: did you implement LMC already? :D

  732. genofire has left

  733. Zash has left

  734. genofire has left

  735. Zash has left

  736. Anu

    Not in develop branch yet

  737. genofire has left

  738. genofire has left

  739. Anu

    Soon

  740. genofire has left

  741. genofire has left

  742. genofire has left

  743. genofire has left

  744. genofire has left

  745. jjrh has left

  746. l has joined

  747. genofire has left

  748. genofire has left

  749. genofire has left

  750. genofire has left

  751. genofire has left

  752. genofire has left

  753. genofire has left

  754. Andrew Nenakhov has joined

  755. genofire has left

  756. genofire has left

  757. genofire has left

  758. genofire has left

  759. jjrh has left

  760. genofire has left

  761. genofire has left

  762. genofire has left

  763. genofire has left

  764. genofire has left

  765. genofire has left

  766. jjrh has left

  767. genofire has left

  768. Alex has left

  769. genofire has left

  770. genofire has left

  771. genofire has left

  772. genofire has left

  773. Alex has joined

  774. Alex has left

  775. genofire has left

  776. Alex has joined

  777. genofire has left

  778. Alex has left

  779. genofire has left

  780. genofire has left

  781. lumi has joined

  782. genofire has left

  783. genofire has left

  784. genofire has left

  785. genofire has left

  786. genofire has left

  787. genofire has left

  788. genofire has left

  789. genofire has left

  790. genofire has left

  791. genofire has left

  792. genofire has left

  793. Anu

    It will be there soon though, I have a lot of feyures that I am sitting on becuase I need to put our bug fixes

  794. genofire has left

  795. ThibG has joined

  796. Anu

    And I generally dont do major features and bug fixes in the same releases

  797. genofire has left

  798. mrdoctorwho has joined

  799. genofire has left

  800. genofire has left

  801. Seve has left

  802. genofire has left

  803. genofire has left

  804. genofire has left

  805. genofire has left

  806. genofire has left

  807. genofire has left

  808. genofire has left

  809. vaulor has joined

  810. genofire has left

  811. genofire has left

  812. genofire has left

  813. genofire has left

  814. genofire has left

  815. genofire has left

  816. genofire has left

  817. genofire has left

  818. genofire has left

  819. Nekit has left

  820. Nekit has joined

  821. Marc Laporte has left

  822. genofire has left

  823. genofire has left

  824. genofire has left

  825. genofire has left

  826. genofire has left

  827. jonas’

    Ge0rG, re LMC + CS-2019: PR please?

  828. genofire has left

  829. genofire has left

  830. Ge0rG

    jonas’: last time you asked for ML and not for PR :>

  831. genofire has left

  832. genofire has left

  833. jonas’

    I don’t care, I take either

  834. !xsf_martin has joined

  835. genofire has left

  836. Ge0rG

    jonas’: any chance to demote Avatars from Core to Advanced? :D

  837. genofire has left

  838. jonas’

    hm, not sure

  839. genofire has left

  840. genofire has left

  841. Zash

    Mmmmmm, does Avatars depend on PEP+ / 222?

  842. genofire has left

  843. genofire has left

  844. sezuan has left

  845. genofire has left

  846. genofire has left

  847. genofire has left

  848. genofire has left

  849. genofire has left

  850. genofire has left

  851. genofire has left

  852. genofire has left

  853. genofire has left

  854. genofire has left

  855. marc has left

  856. genofire has left

  857. genofire has left

  858. genofire has left

  859. ta has left

  860. genofire has left

  861. genofire has left

  862. Marc Laporte has joined

  863. Marc Laporte has left

  864. genofire has left

  865. genofire has left

  866. genofire has left

  867. genofire has left

  868. genofire has left

  869. genofire has left

  870. genofire has left

  871. genofire has left

  872. genofire has left

  873. genofire has left

  874. genofire has left

  875. genofire has left

  876. genofire has left

  877. genofire has left

  878. genofire has left

  879. genofire has left

  880. genofire has left

  881. genofire has left

  882. genofire has left

  883. genofire has left

  884. genofire has left

  885. genofire has left

  886. genofire has left

  887. ta has joined

  888. ta has joined

  889. moparisthebest has joined

  890. genofire has left

  891. genofire has left

  892. moparisthebest has joined

  893. genofire has left

  894. genofire has left

  895. genofire has left

  896. genofire has left

  897. genofire has left

  898. genofire has left

  899. genofire has left

  900. genofire has left

  901. genofire has left

  902. genofire has left

  903. genofire has left

  904. genofire has left

  905. genofire has left

  906. lnj has joined

  907. efrit has left

  908. genofire has left

  909. Ge0rG

    So now that Logitech is discontinuing XMPP support on their Harmony smart remote control, I first time hear about that support: https://twitter.com/smkelly/status/1074494850815455232

  910. Ge0rG

    XMPP Marketing at its best

  911. genofire has left

  912. genofire has left

  913. genofire has left

  914. genofire has left

  915. genofire has left

  916. genofire has left

  917. genofire has left

  918. genofire has left

  919. genofire has left

  920. genofire has left

  921. genofire has left

  922. genofire has left

  923. genofire has left

  924. genofire has left

  925. genofire has left

  926. genofire has left

  927. genofire has left

  928. Alex has joined

  929. genofire has left

  930. genofire has left

  931. genofire has left

  932. Alex has left

  933. Alex has joined

  934. genofire has left

  935. Anu

    Funny I know a lot of iot devices use xmpp

  936. genofire has left

  937. Anu

    Robot vacuums for example

  938. genofire has left

  939. genofire has left

  940. ThibG has joined

  941. genofire has left

  942. genofire has left

  943. Ge0rG

    It'd be great to fill the IoT page under https://xmpp.org/uses/ with specific examples, akin to Online Games; instead of a generic definition of what IoT is about

  944. genofire has left

  945. genofire has left

  946. Zash

    👍

  947. genofire has left

  948. genofire has left

  949. genofire has left

  950. jjrh has left

  951. genofire has left

  952. genofire has left

  953. genofire has left

  954. jjrh has left

  955. genofire has left

  956. genofire has left

  957. genofire has left

  958. genofire has left

  959. genofire has left

  960. genofire has left

  961. Ge0rG

    I'm sure we've had that discussion before, and I'm sure I wrote an issue for it already, but I can't find it.

  962. genofire has left

  963. genofire has left

  964. genofire has left

  965. genofire has left

  966. genofire has left

  967. genofire has left

  968. genofire has left

  969. Guus has left

  970. Ge0rG

    Zash, Anu: https://github.com/xsf/xmpp.org/issues/490

  971. genofire has left

  972. mimi89999 has joined

  973. genofire has left

  974. genofire has left

  975. genofire has left

  976. genofire has left

  977. genofire has left

  978. genofire has left

  979. marc has joined

  980. genofire has left

  981. genofire has left

  982. genofire has left

  983. genofire has left

  984. genofire has left

  985. genofire has left

  986. genofire has left

  987. genofire has left

  988. genofire has left

  989. genofire has left

  990. genofire has left

  991. genofire has left

  992. moparisthebest

    Guy on curl mailing list is asking for advice about how to implement 'push notifications' with curl as the client

  993. genofire has left

  994. moparisthebest

    Someone mentioned you could make a request and wait for server to respond, guy asked "but what if the server has something to send and the client has lost connection"

  995. Ge0rG

    curl does xmpp now?

  996. genofire has left

  997. moparisthebest

    Inb4 re implementing xmpp poorly on top of http

  998. genofire has left

  999. moparisthebest

    No but I'm thinking of suggesting he use xmpp instead of http

  1000. genofire has left

  1001. genofire has left

  1002. Steve Kille has left

  1003. Steve Kille has left

  1004. Zash

    BOSH?

  1005. genofire has left

  1006. Ge0rG

    isn't that the company that provided emission manipulation devices to Volkswagen?

  1007. genofire has left

  1008. genofire has left

  1009. genofire has left

  1010. Andrew Nenakhov has left

  1011. Andrew Nenakhov has joined

  1012. Andrew Nenakhov has joined

  1013. genofire has left

  1014. Ge0rG

    Anu: could you add your vacuums to the issue?

  1015. genofire has left

  1016. genofire has left

  1017. genofire has left

  1018. Andrew Nenakhov has left

  1019. Ge0rG has left

  1020. Andrew Nenakhov has joined

  1021. genofire has left

  1022. Steve Kille has joined

  1023. genofire has left

  1024. genofire has left

  1025. genofire has left

  1026. marc_ has joined

  1027. genofire has left

  1028. genofire has left

  1029. genofire has left

  1030. genofire has left

  1031. Andrew Nenakhov has left

  1032. Steve Kille has left

  1033. jjrh has left

  1034. UsL has left

  1035. jjrh has left

  1036. Andrew Nenakhov has left

  1037. jjrh has left

  1038. labdsf has left

  1039. igoose has left

  1040. igoose has joined

  1041. ThibG has left

  1042. ThibG has joined

  1043. vaulor has left

  1044. vaulor has joined

  1045. blabla has joined

  1046. blabla has joined

  1047. marc_ has left

  1048. Steve Kille has left

  1049. Nekit has left

  1050. Nekit has joined

  1051. Neustradamus has left

  1052. Zash has left

  1053. blabla has joined

  1054. !xsf_martin has left

  1055. Neustradamus has joined

  1056. vaulor has left

  1057. vaulor has joined

  1058. Alex has left

  1059. blabla has joined

  1060. Marc Laporte has joined

  1061. peter has joined

  1062. Alex has joined

  1063. ralphm has left

  1064. peter has left

  1065. oli has joined

  1066. waqas has left

  1067. waqas has joined

  1068. Marc Laporte has left

  1069. sezuan has left

  1070. labdsf has joined

  1071. sezuan has joined

  1072. jjrh has left

  1073. oli has joined

  1074. oli has joined

  1075. tux has left

  1076. labdsf has left

  1077. labdsf has joined

  1078. UsL has joined

  1079. marc has left

  1080. marc has joined

  1081. marc has left

  1082. marc has joined

  1083. Yagiza has left

  1084. labdsf has left

  1085. labdsf has joined

  1086. 404.city has left

  1087. marc_ has joined

  1088. MattJ has joined

  1089. Zash has left

  1090. l has left

  1091. l has joined

  1092. neshtaxmpp has joined

  1093. neshtaxmpp has left

  1094. labdsf has left

  1095. neshtaxmpp has left

  1096. frainz has left

  1097. Alex has left

  1098. sezuan has left

  1099. ralphm has left

  1100. labdsf has joined

  1101. marc_ has left

  1102. marc_ has joined

  1103. Zash has left

  1104. ThibG has left

  1105. ThibG has joined

  1106. Zash has left

  1107. sezuan has left

  1108. Maranda has joined

  1109. Nekit has left

  1110. Nekit has joined

  1111. Zash has left

  1112. Nekit has joined

  1113. Zash has joined

  1114. Neustradamus has left

  1115. marc_ has left

  1116. peter has joined

  1117. peter has left

  1118. Wiktor has joined

  1119. lorddavidiii has joined

  1120. ta has left

  1121. blabla has left

  1122. frainz has joined

  1123. rion has left

  1124. blabla has joined

  1125. tux has joined

  1126. Tobias has joined

  1127. lorddavidiii has left

  1128. jjrh has left

  1129. frainz has left

  1130. frainz has joined

  1131. oli has joined

  1132. Zash has left

  1133. vaulor has left

  1134. lnj has left

  1135. rion has left

  1136. rion has left

  1137. rion has left

  1138. MattJ has joined

  1139. lorddavidiii has joined

  1140. rion has left

  1141. rion has left

  1142. rion has left

  1143. cookie has left

  1144. andrey.g has left

  1145. rion has left

  1146. thorsten has left

  1147. thorsten has joined

  1148. rion has left

  1149. l has left

  1150. cookie has joined

  1151. jjrh has left

  1152. lumi has left

  1153. jjrh has left

  1154. sezuan has left

  1155. jjrh has left

  1156. andrey.g has joined

  1157. lovetox has left