summaryrefslogtreecommitdiff
path: root/xmpp/iq.go
AgeCommit message (Collapse)Author
2023-07-06Apply go fmtxengineering
2023-07-06Implement roster result handlingxengineering
This completes the roster get / result cycle which is needed for a MVP.
2023-07-06Implement roster get requestxengineering
This asks the server for the roster / contact list for the current account.
2023-07-06Use different IQ struct for RX and TXxengineering
It is quite tricky to write structs with correct XML struct tags which are suitable for RX and TX because in RX structs all possible fields have to be addressed and in TX some have to be hidden depending on the use case.
2023-07-05Migrate bind sending to new generic iq structxengineering
This makes the code way less complex.
2023-07-05Migrate bind receive to new iq structxengineering
2023-07-05Add new generic iq structxengineering
This will cover all iq use cases with optional arguments and sub-elements.
2023-07-05Move bind logic to new xmpp/iq.goxengineering
The bind request / response works with IQ stanzas. Because of the way encoding and decoding is done with LimoX / the Go standard library it makes sense to group IQ-based logic in a separat file since the struct for IQs will be there.