Skip to content

Commit c18786a

Browse files
authored
Release v1.2.5
2 parents 5e1fcd5 + bd35995 commit c18786a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pkg/handler.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,13 @@ func (h *Handler) HandleIncomingMessage(topic string, msg pubsub.Message, handle
125125
}
126126

127127
// Set Matrix ID
128-
func (h *Handler) SetMatrixID(mxID string) {
129-
h.matrixID = mxID
128+
func (h *Handler) SetMatrixID(matrixID string) {
129+
h.matrixID = matrixID
130+
}
131+
132+
// Returns copy of handler's identity map ([multiaddress]=>[matrixID])
133+
func (h *Handler) GetIdentityMap() map[string]string {
134+
return h.identityMap
130135
}
131136

132137
// Get list of topics **this** node is subscribed to

0 commit comments

Comments
 (0)