Changeset 662 in code for trunk/downstream.go


Ignore:
Timestamp:
Nov 2, 2021, 9:38:07 PM (4 years ago)
Author:
contact
Message:

Add title config option

Closes: https://todo.sr.ht/~emersion/soju/146

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r661 r662  
    11581158                isupport = append(isupport, fmt.Sprintf("BOUNCER_NETID=%v", dc.network.ID))
    11591159        }
    1160 
     1160        if dc.network == nil && dc.srv.Title != "" {
     1161                isupport = append(isupport, "NETWORK="+encodeISUPPORT(dc.srv.Title))
     1162        }
    11611163        if dc.network == nil && dc.caps["soju.im/bouncer-networks"] {
    11621164                isupport = append(isupport, "WHOX")
Note: See TracChangeset for help on using the changeset viewer.