Skip to content
Snippets Groups Projects
Verified Commit 5a359fac authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Removed debug statements, replaced println with proper logging

parent f6fc0748
No related branches found
No related tags found
No related merge requests found
Pipeline #339 passed
......@@ -157,8 +157,6 @@ class QuasseldroidNotificationManager @Inject constructor(private val context: C
0
)
println(notificationSettings)
val notification = NotificationCompat.Builder(
context.applicationContext,
translatedLocale.getString(
......
......@@ -343,9 +343,6 @@ class MessageListFragment : ServiceBoundFragment() {
return list.mapReverse {
val date = it.time.atZone(ZoneId.systemDefault()).truncatedTo(ChronoUnit.DAYS)
val isSameDay = previousDate?.isEqual(date) ?: false
if (it.sender.startsWith("testcrc3")) {
println("$previous:$it")
}
val isFollowUp = previous?.sender == it.sender && previous?.type == it.type && isSameDay
previous = it
previousDate = date
......
......@@ -24,6 +24,8 @@ import de.kuschku.libquassel.protocol.Type
import de.kuschku.libquassel.quassel.syncables.interfaces.IIrcChannel
import de.kuschku.libquassel.quassel.syncables.interfaces.INetwork
import de.kuschku.libquassel.session.SignalProxy
import de.kuschku.libquassel.util.compatibility.LoggingHandler.Companion.log
import de.kuschku.libquassel.util.compatibility.LoggingHandler.LogLevel.ERROR
import de.kuschku.libquassel.util.helpers.getOr
import io.reactivex.Observable
import io.reactivex.subjects.BehaviorSubject
......@@ -36,7 +38,7 @@ class IrcChannel(
) : SyncableObject(proxy, "IrcChannel"), IIrcChannel {
override fun init() {
if (name().isEmpty()) {
println("Error: channelName is empty")
log(ERROR, "IrcChannel", "Error: channelName is empty")
}
renameObject("${network().networkId()}/${name()}")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment