<commit_before>Meteor.startup ->
	RocketChat.callbacks.add 'enter-room', ->
		console.log 'Adding chatops to tabbar'
		RocketChat.TabBar.addButton
			id: 'chatops-button'
			i18nTitle: 'rocketchat-chatops:Chatops_Title'
			icon: 'icon-code'
			template: 'chatops'
			order: 4
	, RocketChat.callbacks.priority.MEDIUM, 'enter-room-tabbar-star'
<commit_msg>Added check to see if gitlab / github before adding<commit_after>Meteor.startup ->

	RocketChat.callbacks.add 'enter-room', ->
		if Meteor.user()?.services?.github?.id or Meteor.user()?.services?.gitlab?.id
			console.log 'Adding chatops to tabbar'
			RocketChat.TabBar.addButton
				id: 'chatops-button'
				i18nTitle: 'rocketchat-chatops:Chatops_Title'
				icon: 'icon-code'
				template: 'chatops'
				order: 4
	, RocketChat.callbacks.priority.MEDIUM, 'enter-room-tabbar-chatops'

{'fraction_non_alphanumeric': 0.13261648745519714, 'fraction_numerical': 0.007168458781362007, 'mean_word_length': 4.270440251572327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4932356', 'n_tokens_mistral': 347, 'n_tokens_neox': 304, 'n_words': 54}