Turn off peer change notifications in dolcon.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 24 Feb 2008 15:45:59 +0000 (16:45 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 24 Feb 2008 15:45:59 +0000 (16:45 +0100)
clients/gtk2/dolcon.c

index 60374f3..64eaf3e 100644 (file)
@@ -829,7 +829,7 @@ void logincallback(int err, wchar_t *reason, void *data)
     switch(err)
     {
     case DC_LOGIN_ERR_SUCCESS:
-       dc_queuecmd(NULL, NULL, L"notify", L"all", L"on", NULL);
+       dc_queuecmd(NULL, NULL, L"notify", L"all", L"on", L"fn:peer", L"off", NULL);
        dc_getfnlistasync(getfnlistcallback, NULL);
        dc_gettrlistasync(gettrlistcallback, NULL);
        updatesbar("Authenticated");