/[qnet]/qnet/src/ChatSession.cpp
ViewVC logotype

Diff of /qnet/src/ChatSession.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by Sigma, Mon Aug 25 10:19:41 2003 UTC revision 1.14 by Sigma, Fri Aug 29 07:12:02 2003 UTC
# Line 142  void ChatSession::displayStdout(const QS Line 142  void ChatSession::displayStdout(const QS
142          new_m += "<br>";          new_m += "<br>";
143  #endif  #endif
144    
145          chat_view->append(new_m);          chat_view->append(Filter::expandVars(new_m,context()));
146    //        chat_view->append(new_m);
147    
148          position += new_m.length();          position += new_m.length();
149          login_set = true;          login_set = true;
# Line 173  void ChatSession::displayStdout(const QS Line 174  void ChatSession::displayStdout(const QS
174                  for (std::vector<Page*>::iterator it = brothers.begin(); it != brothers.end(); ++it)                  for (std::vector<Page*>::iterator it = brothers.begin(); it != brothers.end(); ++it)
175                      if ((*it)->name() == rx.cap(2)) {                      if ((*it)->name() == rx.cap(2)) {
176    
177                          (*it)->append(m);  //                        (*it)->append(m);
178                            (*it)->append(Filter::expandVars(m,context()));
179                          ok = false;                          ok = false;
180                      }                      }
181                  if (ok) {                  if (ok) {
182    
183                      Page * edit = mtp->getNewPage(abbrev,rx.cap(2),this);                      Page * edit = mtp->getNewPage(abbrev,rx.cap(2),this);
184                      if(edit) {                      if(edit) {
185                          brothers.push_back(edit);                          brothers.push_back(edit);
186                          edit->append(m);  //                        edit->append(m);
187                      }                          edit->append(Filter::expandVars(m,context()));
188                      else                      }
189                          displayStderr("Don't know what to do with : " + mm);                      else
190                            displayStderr("Don't know what to do with : " + mm);
191                  }                  }
192              } else {              } else {
193                  chat_view->append(mm);  //                chat_view->append(mm);
194                    chat_view->append(Filter::expandVars(mm,context()));
195                  emit textDisplayed(this);                  emit textDisplayed(this);
196              }              }
197          }          }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26