jdev - 2020-10-09


  1. sonny has left
  2. sonny has joined
  3. sonny has left
  4. sonny has joined
  5. sonny has left
  6. sonny has joined
  7. kikuchiyo has left
  8. moparisthebest has left
  9. sonny has left
  10. moparisthebest has joined
  11. sonny has joined
  12. Wojtek has left
  13. Wojtek has joined
  14. Wojtek has left
  15. sonny has left
  16. floretta has left
  17. floretta has joined
  18. kikuchiyo has joined
  19. debacle has left
  20. Yagizа has joined
  21. kikuchiyo has left
  22. kikuchiyo has joined
  23. alexis has joined
  24. kikuchiyo has left
  25. mac has joined
  26. kikuchiyo has joined
  27. kikuchiyo has left
  28. mac has left
  29. mac has joined
  30. mac has left
  31. alex-a-soto has left
  32. alex-a-soto has joined
  33. kikuchiyo has joined
  34. lovetox has joined
  35. lovetox has left
  36. kikuchiyo has left
  37. test2 has joined
  38. kikuchiyo has joined
  39. lovetox has joined
  40. paul has joined
  41. test2 has left
  42. lovetox has left
  43. kikuchiyo has left
  44. alex-a-soto has left
  45. alex-a-soto has joined
  46. shachontal has joined
  47. goffi has joined
  48. Beherit has left
  49. Beherit has joined
  50. sonny has joined
  51. sonny has left
  52. kikuchiyo has joined
  53. Zash has joined
  54. kikuchiyo has left
  55. sonny has joined
  56. sonny has left
  57. sonny has joined
  58. sonny has left
  59. sonny has joined
  60. sonny has left
  61. Alex has left
  62. DebXWoody has joined
  63. sonny has joined
  64. sonny has left
  65. sonny has joined
  66. alex-a-soto has left
  67. alex-a-soto has joined
  68. Alex has joined
  69. marc0s hi, how do you handle push notifications client-side? Do you always resume the SM session on receiving a push notification or if there's no interaction you stay hibernated? What would be the expected behavior?
  70. sonny has left
  71. alacer has left
  72. Beherit has left
  73. sonny has joined
  74. jonas’ I think that at least one implementation will time out your SM session if you don’t resume after a push
  75. Beherit has joined
  76. sonny has left
  77. sonny has joined
  78. marc0s I know also of one that does this, I was asking if that's the desirable behavior from the users' point of view, as I think it's not uncommon to ignore incoming pushes for some period of time (let's say more than 600s) but you still want them to keep coming in, if any
  79. kikuchiyo has joined
  80. kikuchiyo has left
  81. kikuchiyo has joined
  82. kikuchiyo has left
  83. kikuchiyo has joined
  84. kikuchiyo has left
  85. sonny has left
  86. sonny has joined
  87. kikuchiyo has joined
  88. kikuchiyo has left
  89. DebXWoody has left
  90. sonny has left
  91. sonny has joined
  92. DebXWoody has joined
  93. sonny has left
  94. DebXWoody has left
  95. DebXWoody has joined
  96. DebXWoody has left
  97. DebXWoody has joined
  98. kikuchiyo has joined
  99. kikuchiyo has left
  100. kikuchiyo has joined
  101. kikuchiyo has left
  102. sonny has joined
  103. kikuchiyo has joined
  104. kikuchiyo has left
  105. debacle has joined
  106. sonny has left
  107. sonny has joined
  108. kikuchiyo has joined
  109. kikuchiyo has left
  110. Guus has left
  111. kikuchiyo has joined
  112. kikuchiyo has left
  113. Guus has joined
  114. sonny has left
  115. sonny has joined
  116. sonny has left
  117. pulkomandy has left
  118. pulkomandy has joined
  119. kikuchiyo has joined
  120. kikuchiyo has left
  121. kikuchiyo has joined
  122. kikuchiyo has left
  123. kikuchiyo has joined
  124. kikuchiyo has left
  125. kikuchiyo has joined
  126. kikuchiyo has left
  127. kikuchiyo has joined
  128. kikuchiyo has left
  129. kikuchiyo has joined
  130. kikuchiyo has left
  131. jonas’ marc0s, some push implementations also require you to SM-resume (or do other magic) to obtain the message content
  132. kikuchiyo has joined
  133. kikuchiyo has left
  134. jonas’ hence you’ll have to do that to show the correct info (such as "who sent the message" and the message content) to the user, for them to decide whether to ignore it or not
  135. kikuchiyo has joined
  136. kikuchiyo has left
  137. eta yeah as far as I understand the push content is just "go connect again, there's something to fetch"
  138. kikuchiyo has joined
  139. kikuchiyo has left
  140. kikuchiyo has joined
  141. kikuchiyo has left
  142. kikuchiyo has joined
  143. kikuchiyo has left
  144. kikuchiyo has joined
  145. kikuchiyo has left
  146. kikuchiyo has joined
  147. kikuchiyo has left
  148. kikuchiyo has joined
  149. kikuchiyo has left
  150. marc0s jonas’ uhm, that's right, didn't thought of that scenario; we're just sending the full message in the push notification 😅
  151. kikuchiyo has joined
  152. kikuchiyo has left
  153. kikuchiyo has joined
  154. eta marc0s, do you not have end-to-end encryption
  155. kikuchiyo has left
  156. marc0s eta, we don't, currently
  157. kikuchiyo has joined
  158. kikuchiyo has left
  159. kikuchiyo has joined
  160. kikuchiyo has left
  161. kikuchiyo has joined
  162. kikuchiyo has left
  163. kikuchiyo has joined
  164. kikuchiyo has left
  165. kikuchiyo has joined
  166. kikuchiyo has left
  167. kikuchiyo has joined
  168. kikuchiyo has left
  169. kikuchiyo has joined
  170. kikuchiyo has left
  171. eta marc0s, ah okay
  172. eta the issue with sending the actual push body though is Apple/Google get to read it
  173. kikuchiyo has joined
  174. kikuchiyo has left
  175. kikuchiyo has joined
  176. kikuchiyo has left
  177. marc0s eta, yes, sure
  178. jonas’ is it in their ToS that they are allowed to do things with the push notification body?
  179. kikuchiyo has joined
  180. kikuchiyo has left
  181. kikuchiyo has joined
  182. kikuchiyo has left
  183. kikuchiyo has joined
  184. kikuchiyo has left
  185. kikuchiyo has joined
  186. kikuchiyo has left
  187. kikuchiyo has joined
  188. kikuchiyo has left
  189. kikuchiyo has joined
  190. kikuchiyo has left
  191. kikuchiyo has joined
  192. kikuchiyo has left
  193. kikuchiyo has joined
  194. kikuchiyo has left
  195. kikuchiyo has joined
  196. kikuchiyo has left
  197. kikuchiyo has joined
  198. kikuchiyo has left
  199. marc0s nonetheless, if the server is not aware of the existance or not of e2e, why should the server determine that the client _must_ SM-resume after sending a push notification? I see no relevant difference on a SM-suspended session that has received a push notification and one other that doesn't (in SM-terms or server-side resources used) so the first one should be dropped after some time and not the latter
  200. kikuchiyo has joined
  201. kikuchiyo has left
  202. kikuchiyo has joined
  203. kikuchiyo has left
  204. kikuchiyo has joined
  205. kikuchiyo has left
  206. jonas’ marc0s, ah, the implementation I was talking about keeps SM sessions "forever"
  207. jonas’ if they have push enabled
  208. kikuchiyo has joined
  209. kikuchiyo has left
  210. sonny has joined
  211. jonas’ the assumption is that if they have push enabled, the session is worthy of being hibernated longer, because it can be woken up on request by the server
  212. kikuchiyo has joined
  213. kikuchiyo has left
  214. jonas’ so it is in fact a difference in resource consumption, because with push, the SM session may stay hibernated on the server for longer than the usual timeout
  215. kikuchiyo has joined
  216. kikuchiyo has left
  217. kikuchiyo has joined
  218. kikuchiyo has left
  219. kikuchiyo has joined
  220. kikuchiyo has left
  221. kikuchiyo has joined
  222. kikuchiyo has left
  223. kikuchiyo has joined
  224. kikuchiyo has left
  225. kikuchiyo has joined
  226. kikuchiyo has left
  227. kikuchiyo has joined
  228. kikuchiyo has left
  229. kikuchiyo has joined
  230. kikuchiyo has left
  231. Alex has left
  232. kikuchiyo has joined
  233. kikuchiyo has left
  234. kikuchiyo has joined
  235. kikuchiyo has left
  236. kikuchiyo has joined
  237. kikuchiyo has left
  238. marc0s jonas’ that's what I'd expect; but prosody's mod_smack adds another condition to keep the hibernation forever: have no push delivered yet https://hg.prosody.im/prosody-modules/file/tip/mod_smacks/mod_smacks.lua#l493 So, after sending out a push notification, that SM-hibernated session is elegible for being dropped
  239. kikuchiyo has joined
  240. kikuchiyo has left
  241. kikuchiyo has joined
  242. kikuchiyo has left
  243. kikuchiyo has joined
  244. kikuchiyo has left
  245. kikuchiyo has joined
  246. kikuchiyo has left
  247. marc0s I can see the difference of resource consumption between a push-enabled and another session without pushes enabled, but I cannot see it between two sessions with enabled pushes where a push notification has already be sent to one but not to the other (I'm no sure if I'm explaining myself quite ok...)
  248. kikuchiyo has joined
  249. kikuchiyo has left
  250. kikuchiyo has joined
  251. kikuchiyo has left
  252. kikuchiyo has joined
  253. kikuchiyo has left
  254. kikuchiyo has joined
  255. kikuchiyo has left
  256. kikuchiyo has joined
  257. kikuchiyo has left
  258. kikuchiyo has joined
  259. kikuchiyo has left
  260. kikuchiyo has joined
  261. kikuchiyo has left
  262. kikuchiyo has joined
  263. kikuchiyo has left
  264. kikuchiyo has joined
  265. kikuchiyo has left
  266. kikuchiyo has joined
  267. kikuchiyo has left
  268. kikuchiyo has joined
  269. kikuchiyo has left
  270. kikuchiyo has joined
  271. kikuchiyo has left
  272. kikuchiyo has joined
  273. kikuchiyo has left
  274. kikuchiyo has joined
  275. kikuchiyo has left
  276. kikuchiyo has joined
  277. kikuchiyo has left
  278. kikuchiyo has joined
  279. kikuchiyo has left
  280. kikuchiyo has joined
  281. kikuchiyo has left
  282. kikuchiyo has joined
  283. kikuchiyo has left
  284. pulkomandy has left
  285. pulkomandy has joined
  286. kikuchiyo has joined
  287. kikuchiyo has left
  288. sonny has left
  289. kikuchiyo has joined
  290. kikuchiyo has left
  291. kikuchiyo has joined
  292. kikuchiyo has left
  293. kikuchiyo has joined
  294. kikuchiyo has left
  295. kikuchiyo has joined
  296. kikuchiyo has left
  297. kikuchiyo has joined
  298. kikuchiyo has left
  299. kikuchiyo has joined
  300. kikuchiyo has left
  301. kikuchiyo has joined
  302. kikuchiyo has left
  303. kikuchiyo has joined
  304. kikuchiyo has left
  305. kikuchiyo has joined
  306. kikuchiyo has left
  307. kikuchiyo has joined
  308. kikuchiyo has left
  309. kikuchiyo has joined
  310. kikuchiyo has left
  311. kikuchiyo has joined
  312. kikuchiyo has left
  313. kikuchiyo has joined
  314. kikuchiyo has left
  315. kikuchiyo has joined
  316. kikuchiyo has left
  317. kikuchiyo has joined
  318. kikuchiyo has left
  319. jonas’ marc0s, the assumption is: if the push isn’t being answered by resumption, there is a problem with the client (got uninstalled, the phone is completely turned off, has lost coverage for good etc. etc.), and there’s no value in keeping the session open
  320. kikuchiyo has joined
  321. kikuchiyo has left
  322. jonas’ no value, in that it is a "lie"
  323. kikuchiyo has joined
  324. kikuchiyo has left
  325. kikuchiyo has joined
  326. kikuchiyo has left
  327. jonas’ with push-less SM, you cannot distinguish between a client crashing and a client coming back in a minute or two because it just lost the network connectivity for a short amount. hence there is a timeout to expire sessions which are not likely to get resumed.
  328. kikuchiyo has joined
  329. kikuchiyo has left
  330. kikuchiyo has joined
  331. kikuchiyo has left
  332. kikuchiyo has joined
  333. kikuchiyo has left
  334. kikuchiyo has joined
  335. kikuchiyo has left
  336. kikuchiyo has joined
  337. marc0s I see the push-less assumption, I'm not sure I share the first
  338. sonny has joined
  339. Beherit has left
  340. Alex has joined
  341. sonny has left
  342. marc0s response codes from the push provider (APNS, FCM,...) should indicate if the push recipient is no longer valid and from that we could infer that the session should be dropped; but assuming that a lack of interaction of the user means the session should be dropped... idk (I assume my use case does not require any reconnection because the push has all the info, and this may not always be the case)
  343. sonny has joined
  344. DebXWoody has left
  345. sonny has left
  346. sonny has joined
  347. Beherit has joined
  348. jonnj has left
  349. jonnj has joined
  350. sonny has left
  351. Alex has left
  352. Alex has joined
  353. sonny has joined
  354. sonny has left
  355. alexis has left
  356. sonny has joined
  357. kikuchiyo has left
  358. alexis has joined
  359. sonny has left
  360. Holger has left
  361. alexis has left
  362. kikuchiyo has joined
  363. kikuchiyo has left
  364. kikuchiyo has joined
  365. kikuchiyo has left
  366. kikuchiyo has joined
  367. kikuchiyo has left
  368. kikuchiyo has joined
  369. kikuchiyo has left
  370. kikuchiyo has joined
  371. kikuchiyo has left
  372. kikuchiyo has joined
  373. kikuchiyo has left
  374. kikuchiyo has joined
  375. kikuchiyo has left
  376. kikuchiyo has joined
  377. kikuchiyo has left
  378. kikuchiyo has joined
  379. kikuchiyo has left
  380. Alex has left
  381. kikuchiyo has joined
  382. Alex has joined
  383. kikuchiyo has left
  384. kikuchiyo has joined
  385. kikuchiyo has left
  386. kikuchiyo has joined
  387. kikuchiyo has left
  388. kikuchiyo has joined
  389. kikuchiyo has left
  390. alexis has joined
  391. kikuchiyo has joined
  392. kikuchiyo has left
  393. kikuchiyo has joined
  394. kikuchiyo has left
  395. kikuchiyo has joined
  396. kikuchiyo has left
  397. kikuchiyo has joined
  398. kikuchiyo has left
  399. kikuchiyo has joined
  400. kikuchiyo has left
  401. kikuchiyo has joined
  402. kikuchiyo has left
  403. kikuchiyo has joined
  404. kikuchiyo has left
  405. kikuchiyo has joined
  406. kikuchiyo has left
  407. kikuchiyo has joined
  408. kikuchiyo has left
  409. kikuchiyo has joined
  410. kikuchiyo has left
  411. kikuchiyo has joined
  412. kikuchiyo has left
  413. kikuchiyo has joined
  414. kikuchiyo has left
  415. kikuchiyo has joined
  416. kikuchiyo has left
  417. kikuchiyo has joined
  418. kikuchiyo has left
  419. kikuchiyo has joined
  420. kikuchiyo has left
  421. kikuchiyo has joined
  422. kikuchiyo has left
  423. kikuchiyo has joined
  424. kikuchiyo has left
  425. DebXWoody has joined
  426. kikuchiyo has joined
  427. Holger has joined
  428. sonny has joined
  429. sonny has left
  430. alex-a-soto has left
  431. alex-a-soto has joined
  432. sonny has joined
  433. Beherit has left
  434. pulkomandy has left
  435. pulkomandy has joined
  436. pulkomandy has left
  437. pulkomandy has joined
  438. alexis has left
  439. alexis has joined
  440. Beherit has joined
  441. sonny has left
  442. sonny has joined
  443. sonny has left
  444. pulkomandy has left
  445. pulkomandy has joined
  446. sonny has joined
  447. sonny has left
  448. eta has left
  449. eta has joined
  450. Alex has left
  451. Alex has joined
  452. sonny has joined
  453. sonny has left
  454. pulkomandy has left
  455. pulkomandy has joined
  456. DebXWoody has left
  457. sonny has joined
  458. alacer has joined
  459. sonny has left
  460. Wojtek has joined
  461. raghavgururajan has left
  462. raghavgururajan has joined
  463. paul has left
  464. paul has joined
  465. alacer has left
  466. paul has left
  467. paul has joined
  468. pulkomandy has left
  469. pulkomandy has joined
  470. alacer has joined
  471. alacer has left
  472. alacer has joined
  473. paul has left
  474. paul has joined
  475. paul has left
  476. paul has joined
  477. paul has left
  478. paul has joined
  479. paul has left
  480. paul has joined
  481. sonny has joined
  482. Wojtek @marc0s sometimes it's not possible to include complete message in the push notification which may warrant reconnection
  483. sonny has left
  484. sonny has joined
  485. sonny has left
  486. DebXWoody has joined
  487. pulkomandy has left
  488. pulkomandy has joined
  489. lovetox has joined
  490. ralphm has left
  491. ralphm has joined
  492. sonny has joined
  493. sonny has left
  494. alexis has left
  495. sonny has joined
  496. Yagizа has left
  497. sonny has left
  498. Beherit has left
  499. alexis has joined
  500. sonny has joined
  501. sonny has left
  502. Beherit has joined
  503. sonny has joined
  504. sonny has left
  505. kikuchiyo has left
  506. debacle has left
  507. kikuchiyo has joined
  508. kikuchiyo has left
  509. alexis has left
  510. kikuchiyo has joined
  511. kikuchiyo has left
  512. kikuchiyo has joined
  513. kikuchiyo has left
  514. kikuchiyo has joined
  515. kikuchiyo has left
  516. kikuchiyo has joined
  517. kikuchiyo has left
  518. kikuchiyo has joined
  519. kikuchiyo has left
  520. kikuchiyo has joined
  521. kikuchiyo has left
  522. kikuchiyo has joined
  523. kikuchiyo has left
  524. kikuchiyo has joined
  525. kikuchiyo has left
  526. kikuchiyo has joined
  527. kikuchiyo has left
  528. kikuchiyo has joined
  529. kikuchiyo has left
  530. kikuchiyo has joined
  531. kikuchiyo has left
  532. kikuchiyo has joined
  533. kikuchiyo has left
  534. kikuchiyo has joined
  535. kikuchiyo has left
  536. kikuchiyo has joined
  537. kikuchiyo has left
  538. kikuchiyo has joined
  539. kikuchiyo has left
  540. kikuchiyo has joined
  541. kikuchiyo has left
  542. kikuchiyo has joined
  543. kikuchiyo has left
  544. kikuchiyo has joined
  545. kikuchiyo has left
  546. kikuchiyo has joined
  547. kikuchiyo has left
  548. kikuchiyo has joined
  549. kikuchiyo has left
  550. kikuchiyo has joined
  551. kikuchiyo has left
  552. kikuchiyo has joined
  553. kikuchiyo has left
  554. kikuchiyo has joined
  555. alexis has joined
  556. kikuchiyo has left
  557. kikuchiyo has joined
  558. kikuchiyo has left
  559. kikuchiyo has joined
  560. kikuchiyo has left
  561. kikuchiyo has joined
  562. kikuchiyo has left
  563. kikuchiyo has joined
  564. kikuchiyo has left
  565. kikuchiyo has joined
  566. kikuchiyo has left
  567. kikuchiyo has joined
  568. kikuchiyo has left
  569. kikuchiyo has joined
  570. kikuchiyo has left
  571. kikuchiyo has joined
  572. kikuchiyo has left
  573. kikuchiyo has joined
  574. kikuchiyo has left
  575. kikuchiyo has joined
  576. kikuchiyo has left
  577. kikuchiyo has joined
  578. kikuchiyo has left
  579. raghavgururajan has left
  580. alexis has left
  581. kikuchiyo has joined
  582. kikuchiyo has left
  583. kikuchiyo has joined
  584. kikuchiyo has left
  585. kikuchiyo has joined
  586. kikuchiyo has left
  587. kikuchiyo has joined
  588. raghavgururajan has joined
  589. kikuchiyo has left
  590. kikuchiyo has joined
  591. kikuchiyo has left
  592. kikuchiyo has joined
  593. kikuchiyo has left
  594. sonny has joined
  595. kikuchiyo has joined
  596. kikuchiyo has left
  597. kikuchiyo has joined
  598. kikuchiyo has left
  599. kikuchiyo has joined
  600. kikuchiyo has left
  601. kikuchiyo has joined
  602. kikuchiyo has left
  603. kikuchiyo has joined
  604. kikuchiyo has left
  605. lovetox has left
  606. kikuchiyo has joined
  607. kikuchiyo has left
  608. kikuchiyo has joined
  609. kikuchiyo has left
  610. sonny has left
  611. sonny has joined
  612. kikuchiyo has joined
  613. kikuchiyo has left
  614. sonny has left
  615. kikuchiyo has joined
  616. kikuchiyo has left
  617. kikuchiyo has joined
  618. kikuchiyo has left
  619. lovetox has joined
  620. sonny has joined
  621. raghavgururajan has left
  622. raghavgururajan has joined
  623. kikuchiyo has joined
  624. kikuchiyo has left
  625. sonny has left
  626. o2 has left
  627. Wojtek has left
  628. kikuchiyo has joined
  629. kikuchiyo has left
  630. sonny has joined
  631. sonny has left
  632. kikuchiyo has joined
  633. kikuchiyo has left
  634. o2 has joined
  635. sonny has joined
  636. sonny has left
  637. sonny has joined
  638. sonny has left
  639. shachontal has left
  640. xecks has left
  641. xecks has joined
  642. shachontal has joined
  643. kikuchiyo has joined
  644. kikuchiyo has left
  645. kikuchiyo has joined
  646. kikuchiyo has left
  647. kikuchiyo has joined
  648. kikuchiyo has left
  649. alexis has joined
  650. kikuchiyo has joined
  651. lovetox has left
  652. alexis has left
  653. alexis has joined
  654. wurstsalat has left
  655. alexis has left
  656. kikuchiyo has left
  657. paul has left
  658. alexis has joined
  659. kikuchiyo has joined
  660. goffi has left
  661. mac has joined
  662. mac has left
  663. shachontal has left
  664. test2 has joined
  665. mac has joined
  666. test2 has left
  667. alexis has left