add restartIo() to DcContext

This commit is contained in:
adbenitez
2024-10-05 18:11:26 +02:00
parent a7f0f753fd
commit 30580366fd
3 changed files with 10 additions and 12 deletions
@@ -278,6 +278,11 @@ public class DcContext {
return oauth2url.startsWith("https://accounts.google.com/");
}
public void restartIo() {
stopIo();
startIo();
}
/**
* @return true if at least one chat has location streaming enabled
*/