SpectrumIM / spectrum2

Spectrum 2 IM transports
https://spectrum.im
409 stars 91 forks source link

how to add 3rd party libpurple plugins #335

Closed evgenyh closed 5 years ago

evgenyh commented 5 years ago

I successfully compiled 3rd party plugin from source and dropped it into /usr/lib64/purple-2 where the rest of officially supported plugins resides.

the question is how do I refer to in cfg file ? I assume I should refer to it via protocol=prpl-somename way. what how to know what protocol name should be used ?

thanks

vitalyster commented 5 years ago

Each libpurple plugin have PurplePluginInfo inside and its 9th field is plugin ID, which in this case turned into this prpl-* constant