diff --git a/OsmAnd-telegram/src/net/osmand/telegram/helpers/LocationMessages.kt b/OsmAnd-telegram/src/net/osmand/telegram/helpers/LocationMessages.kt index e005bf2581..b39edb3c8c 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/helpers/LocationMessages.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/helpers/LocationMessages.kt @@ -156,7 +156,7 @@ class LocationMessages(val app: TelegramApplication) { val diffTime = currentTime - message.time if (diffTime > bufferTime) { log.debug("remove old buffered message: $message with diff in time: $diffTime") - dbHelper.removeBufferedMessage(message) + dbHelper.removeBufferedMessage(message) } else { cleanedList.add(message) }