Skip to content

Change name of get_peer_name to attached_to in Element.#258

Merged
TeresiaOlsson merged 2 commits into
mainfrom
element-belong
May 12, 2026
Merged

Change name of get_peer_name to attached_to in Element.#258
TeresiaOlsson merged 2 commits into
mainfrom
element-belong

Conversation

@TeresiaOlsson
Copy link
Copy Markdown
Contributor

I suggest to change the function name get_peer_name in Element to attached_to to make it easier for the users to understand what this function does and make it clearer that it returns something which is different than doing peer.name and that's why there is a specific function for it.

@TeresiaOlsson TeresiaOlsson marked this pull request as ready for review May 7, 2026 16:13
@TeresiaOlsson TeresiaOlsson merged commit 23da577 into main May 12, 2026
3 checks passed
@gubaidulinvadim gubaidulinvadim deleted the element-belong branch May 12, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants