mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-02 17:53:55 +00:00
fix progress notifications registrations
This commit is contained in:
parent
ca84ed4997
commit
275db8a631
@ -361,7 +361,7 @@ void SessionClass<T>::add_progress_notification(ContextType ctx, FunctionType, O
|
||||
progressFunc = std::move(progress_handler);
|
||||
|
||||
|
||||
auto registrationToken = session->register_progress_notifier(std::move(progressFunc), notifierType, false);
|
||||
auto registrationToken = session->register_progress_notifier(std::move(progressFunc), notifierType, is_streaming);
|
||||
|
||||
auto syncSession = create_object<T, SessionClass<T>>(ctx, new WeakSession(session));
|
||||
PropertyAttributes attributes = ReadOnly | DontEnum | DontDelete;
|
||||
|
Loading…
x
Reference in New Issue
Block a user