Add description() for list events.
This commit is contained in:
@@ -60,6 +60,8 @@ abstract class GeneralListEvent(
|
||||
|
||||
fun title() = tags.firstOrNull { it.size > 1 && it[0] == "title" }?.get(1)
|
||||
|
||||
fun description() = tags.firstOrNull { it.size > 1 && it[0] == "description" }?.get(1)
|
||||
|
||||
fun nameOrTitle() = name()?.ifBlank { null } ?: title()?.ifBlank { null }
|
||||
|
||||
fun cachedPrivateTags(): Array<Array<String>>? = privateTagsCache
|
||||
|
||||
Reference in New Issue
Block a user