Search code examples
getstream-io

Realtime update for updated activity


I'm playing around with getstream.io, it's an amazing tool but I have a question regarding realtime updates.

I am connected to realtime updates of a feed via Javascript (simply following examples from getstream.io).

feed.subscribe(callback)

Which works beautifully, adding and removing activities to the feed triggers the callback function. However if I (via python) update an activity of a feed.

e = feed.add_activity(editable)
e['content'] = 'Ooops'
client.update_activity(e)

I see that the update was successful if I call feed.get() but I don't get a realtime notification in Javascript, shouldn't I? Am I doing something wrong?


Solution

  • The activity update API does not trigger a real-time update notification.