mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
removed obsolete code #451
This commit is contained in:
@@ -152,15 +152,6 @@ public class MessageNotifier {
|
||||
updateNotification(context, true, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use updateNotificatio(Context, int) instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static void updateNotification(@NonNull Context context, long threadId)
|
||||
{
|
||||
throw new IllegalStateException("old signal code called. thread -> chat, long -> int");
|
||||
}
|
||||
|
||||
public static void updateNotification(@NonNull Context context, int threadId)
|
||||
{
|
||||
if (System.currentTimeMillis() - lastDesktopActivityTimestamp < DESKTOP_ACTIVITY_PERIOD) {
|
||||
@@ -171,16 +162,6 @@ public class MessageNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated used updateNotification(Context, int, boolean) instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static void updateNotification(@NonNull Context context,
|
||||
long threadId,
|
||||
boolean signal) {
|
||||
throw new IllegalStateException("Old signal code called. thread -> chat & long -> int");
|
||||
}
|
||||
|
||||
public static void updateNotification(@NonNull Context context,
|
||||
int chatId,
|
||||
boolean signal)
|
||||
|
||||
Reference in New Issue
Block a user