Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
ae1f744d
Commit
ae1f744d
authored
Apr 03, 2016
by
MBoretto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing bug in conversation
parent
33ed54fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
GenericmessageCommand.php
src/Commands/SystemCommands/GenericmessageCommand.php
+2
-2
No files found.
src/Commands/SystemCommands/GenericmessageCommand.php
View file @
ae1f744d
...
...
@@ -48,8 +48,8 @@ class GenericmessageCommand extends SystemCommand
{
//If a conversation is busy, execute the conversation command after handling the message
$conversation
=
new
Conversation
(
$this
->
getMessage
()
->
get
Chat
()
->
getId
(),
$this
->
getMessage
()
->
get
From
()
->
getId
()
$this
->
getMessage
()
->
get
From
()
->
getId
(),
$this
->
getMessage
()
->
get
Chat
()
->
getId
()
);
//Fetch conversation command if it exists and execute it
if
(
$conversation
->
exists
()
&&
(
$command
=
$conversation
->
getCommand
()))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment