getVoiceListened inj

This commit is contained in:
gdlbo
2022-07-14 21:48:58 +03:00
parent ae145691c5
commit d646a0cd19
6 changed files with 28 additions and 10 deletions
@@ -7,6 +7,10 @@ public class DNRPrefs{
return getBoolValue("read_s", false);
}
public static boolean getVoiceListened(){
return getBoolValue("listen_v", false);
}
public static boolean getMarkAsReadWithoutExceptions(int peerId){
if (readPM(peerId))
return true;
@@ -174,10 +174,6 @@ public class Preferences{
return getBoolValue("dnr", true);
}
public static boolean dns(){
return getBoolValue("dns", false);
}
public static boolean dnt(){
return getBoolValue("dnt", true);
}