mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-02 21:30:40 +01:00
Don't set online status for bots
This commit is contained in:
parent
50e7a6c543
commit
6bba619de0
@ -3933,7 +3933,7 @@ public class MessagesController extends BaseController implements NotificationCe
|
||||
checkDeletingTask(false);
|
||||
checkReadTasks();
|
||||
|
||||
if (getUserConfig().isClientActivated()) {
|
||||
if (getUserConfig().isClientActivated() && !getUserConfig().isBot) {
|
||||
if (getConnectionsManager().getPauseTime() == 0 && ApplicationLoader.isScreenOn && !ApplicationLoader.mainInterfacePausedStageQueue) {
|
||||
if (ApplicationLoader.mainInterfacePausedStageQueueTime != 0 && Math.abs(ApplicationLoader.mainInterfacePausedStageQueueTime - System.currentTimeMillis()) > 1000) {
|
||||
if (statusSettingState != 1 && (lastStatusUpdateTime == 0 || Math.abs(System.currentTimeMillis() - lastStatusUpdateTime) >= 55000 || offlineSent)) {
|
||||
|
Loading…
Reference in New Issue
Block a user