lawnmower

This commit is contained in:
Curid 2022-05-26 18:17:13 +00:00 committed by GitHub
parent cd5931be16
commit dc7dc667a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ class DetailActivity : AppCompatActivity(), ActionMode.Callback, NotificationFra
val url2 = urlWithoutProto[:lastSlashIndex]
val baseUrl = if (secure) "https://${url2}" else "http://${url2}"
val topic = url.pathSegments.first()
val topic = urlWithoutProto[lastSlashIndex:]
title = topicShortUrl(baseUrl, topic)
// Subscribe to topic if it doesn't already exist