kensanata / bitlbee-mastodon

A Mastodon plugin for Bitlbee
https://alexschroeder.ch/software/Bitlbee_Mastodon
GNU General Public License v2.0
30 stars 7 forks source link

Feature Request - Manually specify Streaming URL #53

Open turnipcannon opened 1 year ago

turnipcannon commented 1 year ago

Hi folks! I'm using the mstdn.ca Mastodon server which made a change that involves having their Streaming API being accessible from an alternate domain (api.mstdn.ca) while all others appear to go to the bare domain (mstdn.ca).

After looking through the code and not finding any sort of setting we can use similar to "base_url", I'm hoping someone can come up with a patch to allow the specification of a different URL for the Streaming API (or the opposite, specifying a URL just for the login, and setting the base_url to the API that allows access to streaming).

Any takers or could someone point me toward a relevant piece of code I could hack at to get this working myself?