Browse code

dialog: rpc set state change to DLG_FLAG_CHANGED instead of DLG_FLAG_NEW

(cherry picked from commit b86d2490f3b96c532cbe07259786757b3ab9fc02)
(cherry picked from commit 0c9d7e3378a4e3ffb1e6a7e48f89b7649aaa6fb2)

Daniel-Constantin Mierla authored on 08/09/2021 08:00:09
Showing 1 changed files
... ...
@@ -2706,7 +2706,7 @@ static void rpc_dlg_set_state(rpc_t *rpc,void *c){
2706 2706
 		dlg->init_ts = (unsigned int)(time(0));
2707 2707
 		dlg->end_ts = (unsigned int)(time(0));
2708 2708
 	}
2709
-	dlg->dflags |= DLG_FLAG_NEW;
2709
+	dlg->dflags |= DLG_FLAG_CHANGED;
2710 2710
 
2711 2711
 	dlg_unref(dlg, unref);
2712 2712