mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 18:47:51 +00:00 
			
		
		
		
	feat: End conversation from widget (#3660)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
		| @@ -2,10 +2,12 @@ module Current | ||||
|   thread_mattr_accessor :user | ||||
|   thread_mattr_accessor :account | ||||
|   thread_mattr_accessor :account_user | ||||
|   thread_mattr_accessor :contact | ||||
|  | ||||
|   def self.reset | ||||
|     Current.user = nil | ||||
|     Current.account = nil | ||||
|     Current.account_user = nil | ||||
|     Current.contact = nil | ||||
|   end | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aswin Dev P.S
					Aswin Dev P.S