Skip to content

Commit 5c986be

Browse files
committed
Send forum title and hostname along with version check
1 parent 3901ddd commit 5c986be

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/discourse_hub.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ def self.change_nickname(current_nickname, new_nickname)
3535

3636

3737
def self.discourse_version_check
38-
get('/version_check', {installed_version: Discourse::VERSION::STRING})
38+
get('/version_check', {
39+
installed_version: Discourse::VERSION::STRING,
40+
forum_title: SiteSetting.title,
41+
forum_domain: Discourse.current_hostname
42+
})
3943
end
4044

4145

0 commit comments

Comments
 (0)