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

Jun 9, 2022, 4:23 AM
2 0 4

comments

  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

ok, how.

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.

ok thanks