remove default value for messageExpTime
This commit is contained in:
parent
7a8caa4831
commit
01e6b8ff60
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class TelegramHelper private constructor() {
|
|||
|
||||
fun getChatLiveMessages() = chatLiveMessages
|
||||
|
||||
fun getMessagesByChatIds(messageExpTime: Long = 0): Map<Long, List<TdApi.Message>> {
|
||||
fun getMessagesByChatIds(messageExpTime: Long): Map<Long, List<TdApi.Message>> {
|
||||
val res = mutableMapOf<Long, MutableList<TdApi.Message>>()
|
||||
for (message in usersLocationMessages.values) {
|
||||
if (System.currentTimeMillis() / 1000 - getLastUpdatedTime(message) < messageExpTime) {
|
||||
|
|
Loading…
Reference in a new issue