Skip to content

Microsub specification says that notifications channel should get handled separately from others (that’s why it has a known UID and is the first). Cool feature of Java (and Kotlin) that allows me to do it: I set my Notifications fragment (that is separate from feeds) to a subclass of MicrosubChannelFragment that sets “uid” to notifications. This prevents duplication of code, makes my channels pretty and saves effort!