late — 6/9/2022, 4:23:56 AM

how do i wait for a wall comment and gets the content and then wait for another wall comment with wasteof-client

♥ 2 ↩ 0 💬 4 comments

comments

lily:
  1. socket.io

  2. on notification count

  3. iterate through all wall comments messages

  4. “read” the others

  5. act on the other ones

  6. “read” them too

6/9/2022, 7:35:06 AM
late:

ok, how.

6/9/2022, 2:37:16 PM
lily:

using socket.io, on “updateNotificationCount” (I think), get the unread notifications. for notification in notifications, if the notification isn’t a wall comment, “read” it. otherwise, act on it, then “read” it.

6/9/2022, 6:27:36 PM
late:

ok thanks

6/9/2022, 6:39:59 PM