We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0d90d commit 79ea3baCopy full SHA for 79ea3ba
src/zulip.rs
@@ -617,7 +617,9 @@ pub(crate) struct ZulipUser {
617
}
618
619
impl ZulipUser {
620
- // The GitHub profile data key is 3873
+ // The custom profile field ID for GitHub profiles on the Rust Zulip
621
+ // is 3873. This is likely not portable across different Zulip instance,
622
+ // but we assume that triagebot will only be used on this Zulip instance anyway.
623
pub(crate) fn get_github_username(&self) -> Option<&str> {
624
self.profile_data.get("3873").map(|v| v.value.as_str())
625
0 commit comments