Return an error when the pad has been deleted from the server
This commit is contained in:
parent
9f0398826d
commit
f4d5a7567f
@ -58,6 +58,11 @@ define([
|
|||||||
Session.network = info.network;
|
Session.network = info.network;
|
||||||
finish(Session, void 0, rt.getUserDoc());
|
finish(Session, void 0, rt.getUserDoc());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config.onChannelError = function (info) {
|
||||||
|
finish(Session, info.error);
|
||||||
|
};
|
||||||
|
|
||||||
overwrite(config, opt);
|
overwrite(config, opt);
|
||||||
|
|
||||||
Session.realtime = CPNetflux.start(config);
|
Session.realtime = CPNetflux.start(config);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user